Skip to content

Commit

Permalink
Add more debugging info to crashes in the log file.
Browse files Browse the repository at this point in the history
  • Loading branch information
gazpachoking committed Nov 4, 2020
1 parent 3a0ca86 commit c561967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "trainaspower"
version = "0.3.2"
version = "0.3.3"
description = "Convert TrainAsOne plans to power and upload to Final Surge for use with Stryd pod."
authors = ["Chase Sterling <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion trainaspower/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
logger.remove()
logger.add(sys.stderr, level="INFO")
logger.add(
directory / "trainaspower.log", level="DEBUG", rotation="3 days", retention="6 days"
directory / "trainaspower.log", level="DEBUG", rotation="3 days", retention="6 days", diagnose=True,
)

try:
Expand Down

0 comments on commit c561967

Please sign in to comment.