diff options
author | Magnus Hagander | 2024-01-12 16:26:47 +0000 |
---|---|---|
committer | Magnus Hagander | 2024-01-12 16:26:47 +0000 |
commit | f097fc82adee9e14dfea31cc6e29e5454f896740 (patch) | |
tree | 7745095f7fd0f33440bde99a88931f607b1e0bd4 /postgresqleu/util/backendviews.py | |
parent | f7a9ccb0e9b24898ce04d33def91a2444408a6ec (diff) |
Trap conference template errors and avoid crashing
When reandering a conference template (from the conference specific
repo/directory), and a template exception is thrown, instead of crashing
with a stackdump and a 500 error to the user, trap the exception and
render the upstream template instead. The user won't get the conference
specific skin, but they will get a working page. To assist debugging, if
this happens also add a http header X-Conference-Template-Error to
indicate this is what happened.
Diffstat (limited to 'postgresqleu/util/backendviews.py')
0 files changed, 0 insertions, 0 deletions