Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Farooq committed Dec 18, 2017
1 parent d92d4d5 commit 1ee8ee1
Show file tree
Hide file tree
Showing 3 changed files with 354 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ public void onReceive(final Object message) throws Exception {
try {
response = new DiskCacheResponse(cache((DiskCacheRequest) message));
} catch (final Exception exception) {
if (logger.isDebugEnabled()) {
logger.debug("Issue while caching", exception);
}
logger.error("Issue while caching {}", exception);
response = new DiskCacheResponse(exception);
}
sender.tell(response, self);
Expand Down

0 comments on commit 1ee8ee1

Please sign in to comment.