forked from expo/troggle
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:
|
except NoReverseMatch:
|
||||||
raise
|
raise
|
||||||
except:
|
except:
|
||||||
|
raise
|
||||||
message = f'Failed to render cave: {slug}'
|
message = f'Failed to render cave: {slug}'
|
||||||
return render(request,'errors/generic.html', {'message': message})
|
return render(request,'errors/generic.html', {'message': message})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user