Verified Commit 48680165 authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

Added `.exception` action to logger plugin

parent f7c594cc
Pipeline #186 passed with stages
in 7 minutes and 40 seconds
......@@ -41,6 +41,13 @@ class LoggerPlugin(Plugin):
self.logger.error(msg, *args, **kwargs)
def exception(self, exception, *args, **kwargs):
logger.exception wrapper
self.logger.exception(exception, *args, **kwargs)
# vim:sw=4:ts=4:et:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment