Skip to content

Commit

Permalink
preserve stack trace on search history failure
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Jul 1, 2019
1 parent d57e1a2 commit e448050
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ private ObjectPath getWatchHistoryEntry(String watchId, String state) throws Exc
assertThat(watchid, is(watchId));
objectPathReference.set(objectPath);
} catch (ResponseException e) {
final String err = "Failed to perform search of watcher history - " + e;
logger.info(err);
final String err = "Failed to perform search of watcher history";
logger.info(err, e);
fail(err);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ private ObjectPath getWatchHistoryEntry(String watchId) throws Exception {
assertThat("watch_id for hit 0 in watcher history", foundWatchId, is(watchId));
objectPathReference.set(objectPath);
} catch (ResponseException e) {
final String err = "Failed to perform search of watcher history - " + e;
logger.info(err);
final String err = "Failed to perform search of watcher history";
logger.info(err, e);
fail(err);
}
});
Expand Down

0 comments on commit e448050

Please sign in to comment.