forked from expo/troggle
Better diagnostics from bad slug error
This commit is contained in:
@@ -217,7 +217,7 @@ def cavewallets(request, caveid):
|
||||
if caveid in Gcavelookup:
|
||||
cave = Gcavelookup[caveid]
|
||||
else:
|
||||
return render(request, "errors/badslug.html", {"badslug": caveid})
|
||||
return render(request, "errors/badslug.html", {"badslug": f"{caveid} - from cavewallets()"})
|
||||
|
||||
# remove duplication. Sorting is done in the template
|
||||
# But this only gets wallets which have survex files attached..
|
||||
|
||||
Reference in New Issue
Block a user