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
My problem is if I hit a bug in certain methods, I get an infinite traceback from loguru. I love loguru when it works, but digging into the infinite recursion is a serious drag on my development because even with a multi-thousand-line scrollback buffer, I still can't hit control-c fast enough to interrupt the infinite loop of loguru messages and find the real cause of the problem (i.e. I have two problems, loguru inifinte recursion and the ciscoconfparse2 bug that caused it).
Is there a way to get loguru to stop printing tracebacks in an infinite loop?
You can reproduce the infinite recursion loop as follows:
@logger.catch(reraise=True)
My problem is if I hit a bug in certain methods, I get an infinite traceback from loguru. I love loguru when it works, but digging into the infinite recursion is a serious drag on my development because even with a multi-thousand-line scrollback buffer, I still can't hit control-c fast enough to interrupt the infinite loop of loguru messages and find the real cause of the problem (i.e. I have two problems, loguru inifinte recursion and the ciscoconfparse2 bug that caused it).
Is there a way to get loguru to stop printing tracebacks in an infinite loop?
You can reproduce the infinite recursion loop as follows:
loguru==0.7.2
cd ciscoconfparse2
1a7b88d72c5a86a673ba8d4ed18316036c65fded
The text was updated successfully, but these errors were encountered: