Skip to content

Commit

Permalink
log the root cause of the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
shandilya3 committed Apr 12, 2024
1 parent dc27cda commit 154386a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void run() {
long retryDelay = DefaultRuleLoader.this.retries * 1000;
message =
String.format(
"Download of local-decisioning rules failed, retying in %s ms", retryDelay);
"Download of local-decisioning rules failed, retrying in %s ms", retryDelay);
logger.debug(message);
scheduleTimer(retryDelay);
} else {
Expand Down Expand Up @@ -285,6 +285,7 @@ protected boolean loadRules(ClientConfig clientConfig) {
if (handler != null) {
handler.handleException(new TargetClientException(message, t));
}
logger.error("Error while getting local-decisioning rule set", t.getCause());
return false;
}
}
Expand Down

0 comments on commit 154386a

Please sign in to comment.