aise exception in cave descriptionb rendering

This commit is contained in:
Philip Sargent 2022-07-20 10:04:00 +03:00
parent 2e14be61a2
commit 9a395eafef

View File

@ -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})