Updated response to be Optional and added a default status code of 500
Updated usage of logger in worker
Why
Exception handling middleware raised such tracebacks
Minor conflict when PRs were merged in worker
Can this PR break any existing features. If yes please list of possible items. If no please exaplin why. (PS: Admins do not merge the PR without this section filled)
No, no migrations involved and we safely assume a default of 500 for errors
Notes on Testing
Checked logs to observe the incorrect log removed
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().
What
response
to beOptional
and added a default status code of 500worker
Why
Exception handling middleware raised such tracebacks
Minor conflict when PRs were merged in
worker
Can this PR break any existing features. If yes please list of possible items. If no please exaplin why. (PS: Admins do not merge the PR without this section filled)
Notes on Testing
Screenshots
Checklist
I have read and understood the [Contribution Guidelines]().