Merge pull request #4485 from apache/couch_index_crashes

catch and log any error from mem3:local_shards