log gui exceptions

This commit is contained in:
Fabian Dill
2020-04-14 18:57:39 +02:00
parent 7a38b426a0
commit e7073153e1
2 changed files with 3 additions and 1 deletions

View File

@@ -367,7 +367,8 @@ def fill_prizes(world, attempts=15):
random.shuffle(prize_locs)
fill_restrictive(world, all_state, prize_locs, prizepool, True)
except FillError as e:
logging.getLogger('').info("Failed to place dungeon prizes (%s). Will retry %s more times", e, attempts - attempt - 1)
logging.getLogger('').exception("Failed to place dungeon prizes (%s). Will retry %s more times", e,
attempts - attempt - 1)
for location in empty_crystal_locations:
location.item = None
continue