Skip to content

Commit

Permalink
use job id including chain for sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
franzns committed Sep 8, 2023
1 parent e9a9791 commit 94f9fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/job-handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function runIfNotAlreadyRunning(
runningJobs.add(jobId);

Sentry.configureScope((scope) => {
scope.setTransactionName(`POST /${id}`);
scope.setTransactionName(`POST /${jobId}`);
});

console.time(jobId);
Expand Down

0 comments on commit 94f9fe3

Please sign in to comment.