log gui exceptions
This commit is contained in:
parent
7a38b426a0
commit
e7073153e1
1
Gui.py
1
Gui.py
|
@ -1582,4 +1582,5 @@ def get_image_for_sprite(sprite):
|
|||
return image.zoom(2)
|
||||
|
||||
if __name__ == '__main__':
|
||||
logging.basicConfig(format='%(message)s', level=logging.INFO)
|
||||
guiMain()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue