|
|
|
|
|
by pR0Ps
1455 days ago
|
|
You can actually do this with any level of log message by passing `exc_info=True` to it. This is super useful in cases where you want to log the exception context, but don't need to be at a high logging level. Ex: logger.debug("A non-critical exception occurred", exc_info=True)
|
|