Skip to content

Commit

Permalink
Uncaught exception verbose log in scheduled jobs (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
slutmaker authored Jul 31, 2023
1 parent e761d94 commit 08b5f6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void runJob() {
this.command.run();
telemetryCtx.close(null);
} catch (Exception e) {
logger.warn("Uncaught exception while running job: {}#{}", this.telemetry.jobClass().getCanonicalName(), this.telemetry.jobMethod());
logger.warn("Uncaught exception while running job: {}#{}", this.telemetry.jobClass().getCanonicalName(), this.telemetry.jobMethod(), e);
telemetryCtx.close(e);
}
}
Expand Down

0 comments on commit 08b5f6c

Please sign in to comment.