Skip to content

Commit

Permalink
GEODE-3974: revert a change to log the exception in the server logs (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmeiliao authored Feb 13, 2018
1 parent c03072d commit 954ccb5
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,10 @@ protected void process(final ClusterDistributionManager dm) {
rex = new ReplyException(thr);
replyWithException(dm, rex);
} catch (Exception exception) {
logger.error("Exception occurred on remote member while executing Function: {}",
this.functionObject.getId(), exception);

if (logger.isDebugEnabled()) {
logger.debug("Exception occurred on remote member while executing Function: {}",
this.functionObject.getId(), exception);
}
stats.endFunctionExecutionWithException(this.functionObject.hasResult());
rex = new ReplyException(exception);
replyWithException(dm, rex);
Expand Down

0 comments on commit 954ccb5

Please sign in to comment.