log the exception on failure to send query response (#4179)

This commit is contained in:
Himanshu 2017-04-25 12:27:20 -05:00 committed by Fangjin Yang
parent 97ddb38d75
commit 4d3745d6c9
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ public class QueryResource implements QueryCountStatsProvider
success = true;
} catch (Exception ex) {
exceptionStr = ex.toString();
log.error(ex, "Unable to send query response.");
throw Throwables.propagate(ex);
} finally {
try {