Skip to content

Commit

Permalink
Add jobId to error message
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoyuki Morita <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] authored and ykmr1224 committed Sep 9, 2024
1 parent e7f2e70 commit 1b69c11
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public CancelJobRunResult cancelJobRun(
throw t;
}

logger.error("Error while making cancel job request to emr:", t);
logger.error("Error while making cancel job request to emr: jobId=" + jobId, t);
metricsService.incrementNumericalMetric(EMR_CANCEL_JOB_REQUEST_FAILURE_COUNT);
if (t instanceof ValidationException) {
throw new IllegalArgumentException(
Expand Down

0 comments on commit 1b69c11

Please sign in to comment.