It is difficult to add a sys.excepthook without typer replacing and ignoring it #1599
Unanswered
damonmaria
asked this question in
Questions
Replies: 2 comments
-
|
I agree with you. This may help? #129 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I encountered the same issue too. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
sys.excepthookoverride, not typer's onehook_example()sys.excepthookbefore typer is imported which is difficult not get right and a difficult to not break when refactoring_original_except_hook = sys.excepthookat it's top level inmain.pybut does not replacesys.excepthookuntil it's actually calledOperating System
Linux, macOS
Operating System Details
No response
Typer Version
0.6.1
Python Version
3.8.13
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions