Better error logging

Elasticsearch eats the stack traces sent from these errors.  We want to log
them instead so we can fix them.

Change-Id: I7839d6bbf07eb6a2843f16dbc6f775d561dd699c
Merge "Better error logging"