summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index 5a28101..24f61f7 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -408,7 +408,7 @@ def edit_cave(request, path="", slug=None):
We basically ignore the <path> as the <slug> is of the format 1624-114 and contains the area code
"""
- #print(f"edit_cave(): {path=} {slug=}")
+ print(f"edit_cave(): {path=} {slug=}")
message = ""
if slug is not None:
try:
@@ -463,7 +463,7 @@ def edit_cave(request, path="", slug=None):
try:
read_cave(cave.filename, cave=cave)
except Exception as e:
- print(f"edit_cave(): EXCEPTION attempting to read_cave()\n{e}")
+ print(f"edit_cave(): EXCEPTION attempting to read_cave({cave.filename})\n{e}")
raise
form = CaveForm(instance=cave, initial={'cave_slug': cave.slug()})