Closed oliverjwroberts closed 1 month ago
Attention: Patch coverage is 0%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 68.68%. Comparing base (
0d95a15
) to head (9c5e372
).
Files | Patch % | Lines |
---|---|---|
app/enquiries/common/datahub_utils.py | 0.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description of change
987 added exception logging to some functions, however, it was deemed more useful to also log the traceback when an exception occurs.
This PR adds such functionality. It also fixes a bug introduced in the aforementioned PR, that references the variable
response
in anexcept
block, where it is out of scope.Test instructions
You should now see the traceback logged when an exception occurs during the sending of requests to Data Hub.