why "export BETTER_EXCEPTIONS=1" works?
Closed this issue · 1 comments
FateScript commented
Hi, thanks for your awesome project :)
I'm curious about why just exporting an env variable could make hook fucntion register expectionhook to python.
This doesn't seem straightforward compared with next two lines of code:
from better_exceptions import hook
hook()
Beg your explanation, thanks.
FateScript commented
Oh, I see. It seems that code here reigisters your hook.pth.