Log exception trace on failed generation attempts

This commit is contained in:
2026-01-24 22:16:47 -06:00
parent c946981c38
commit 640a5bc3a7

View File

@@ -80,7 +80,7 @@ def start():
break
except (FillError, EnemizerError, Exception, RuntimeError) as err:
failures.append((err, seed))
logger.warning('Attempt %d - %s: %s', trynum, fish.translate("cli","cli","generation.failed"), err)
logger.exception('Attempt %d - %s: %s', trynum, fish.translate("cli","cli","generation.failed"), err)
logger.info('')
seed = random.randint(0, 999999999)