forked from expo/troggle
bugfix in error message
This commit is contained in:
parent
c31615b1ff
commit
31c815eeb0
@ -483,7 +483,7 @@ def read_cave(filename, cave=None):
|
|||||||
cave=cave, entrance_letter=letter, entrance=entrance
|
cave=cave, entrance_letter=letter, entrance=entrance
|
||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
message = f' ! Entrance setting failure, slug:"{slug}" #entrances:{len(entrances)} {entrance} letter:"{letter}" cave:"{cave}" filename:"cave_data/{filename}"'
|
message = f' ! Entrance setting failure, slug:"{slug}" #entrances:{len(entrances)} {e} letter:"{letter}" cave:"{cave}" filename:"cave_data/{filename}"'
|
||||||
DataIssue.objects.create(parser="entrances", message=message, url=f"{cave.url}_edit/")
|
DataIssue.objects.create(parser="entrances", message=message, url=f"{cave.url}_edit/")
|
||||||
print(message)
|
print(message)
|
||||||
def reload_entrances():
|
def reload_entrances():
|
||||||
|
Loading…
Reference in New Issue
Block a user