Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

apps/organisations: Except unresolvable paths #1000

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

rmader
Copy link
Contributor

@rmader rmader commented Sep 26, 2019

If a path does not exists, e.g. on not existing static files, the template
tag would throw a Resolver404 exception, crashing the base template, which
again gets used by the 404 template, which leads to a 500 error instead of
404.

Fixes https://sentry.liqd.net/sentry/product-dev/issues/820/

If a path does not exists, e.g. on not existing static files, the template
tag would throw a `Resolver404` exception, crashing the base template, which
again gets used by the 404 template, which leads to a 500 error instead of
404.
Copy link
Contributor

@fuzzylogic2000 fuzzylogic2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@fuzzylogic2000 fuzzylogic2000 merged commit 162d006 into master Sep 26, 2019
@fuzzylogic2000 fuzzylogic2000 deleted the rm-2019-09-fix-500 branch September 26, 2019 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants