Skip to content

Commit

Permalink
fix: Improve pull query error logging (#5477)
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox authored May 26, 2020
1 parent 20bdb8a commit f23412e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ private TableRowsEntity handlePullQuery(
try {
return routeQuery(node, statement, executionContext, serviceContext, pullQueryContext);
} catch (Exception t) {
LOG.debug("Error routing query {} to host {} at timestamp {}",
statement.getStatementText(), node, System.currentTimeMillis());
LOG.error("Error routing query {} to host {} at timestamp {}",
statement.getStatementText(), node, System.currentTimeMillis(), t);
}
}
throw new MaterializationException(String.format(
Expand Down

0 comments on commit f23412e

Please sign in to comment.