Add an additional check to prevent extra reportToSentry calls
What does this MR do and why?
Adds check to prevent extra reportToSentry calls.
This reduces the number of times the job logs call Sentry in the job_log app
Screenshots or screen recordings
N/A
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.