Closed FateScript closed 3 years ago
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.
Oh, I see. It seems that code here reigisters your hook.pth.
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:
Beg your explanation, thanks.