You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromerrortools.loggingimportloggerwithlogger.catch(message="Failed to parse numeric input"):
int("invalid-number-test")
Actual Behavior
2026-06-11 10:05:16.822 | ✘ ERROR | base:__exit__:392 - Failed to parse numeric input
Traceback (most recent call last):
File "C:\Users\shuxiang\Desktop\errortools\errortools\logging.py", line 71, in main
int("invalid-number-test")
~~~^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'invalid-number-test'
Describe the Bug
logger.catch'sreraisefield dosn't work!Expected Behavior
Actual Behavior
Environment