mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
aise exception in cave descriptionb rendering
This commit is contained in:
parent
2e14be61a2
commit
9a395eafef
@ -241,6 +241,7 @@ def rendercave(request, cave, slug, cave_id=''):
|
||||
except NoReverseMatch:
|
||||
raise
|
||||
except:
|
||||
raise
|
||||
message = f'Failed to render cave: {slug}'
|
||||
return render(request,'errors/generic.html', {'message': message})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user