Skip to content

Commit

Permalink
Fixed error message in case fetcher raises an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
abh1nay committed Oct 4, 2012
1 parent d74d185 commit 67627cb
Showing 1 changed file with 3 additions and 5 deletions.
Expand Up @@ -814,11 +814,9 @@ public void operate() {
logger.info(message);
}
} catch(VoldemortException ve) {
String errorMessage = "File fetcher failed for "
+ fetchUrl
+ " and store '"
+ storeName
+ "' due to too many push jobs happening at the same time.";
String errorMessage = "File fetcher failed for " + fetchUrl
+ " and store '" + storeName + "' Reason: \n"
+ ve.getMessage();
updateStatus(errorMessage);
logger.error(errorMessage);
throw new VoldemortException(errorMessage);
Expand Down

0 comments on commit 67627cb

Please sign in to comment.