Closed bensteinberg closed 5 months ago
Attention: Patch coverage is 0%
with 6 lines
in your changes are missing coverage. Please review.
Project coverage is 76.92%. Comparing base (
1288304
) to head (c3c883e
). Report is 5 commits behind head on develop.
Files | Patch % | Lines |
---|---|---|
web/main/views.py | 0.00% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This suppresses errors that occur when someone tries to get routes like
/image/png
, which should 404 instead. The slightly non-idiomatic use of the assertion is in order to have the same effect in the dev environment as in deployments; a bare try-except does not catch the error in dev, where I think the storage abstraction behaves differently -- the error just looks like