aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/actions.py')
-rw-r--r--gallery_dl/actions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gallery_dl/actions.py b/gallery_dl/actions.py
index 971c4d9..5d2f645 100644
--- a/gallery_dl/actions.py
+++ b/gallery_dl/actions.py
@@ -148,6 +148,11 @@ class LoggerAdapter():
if cond(msg):
action(args)
+ def traceback(self, exc):
+ if self.logger.isEnabledFor(logging.DEBUG):
+ self.logger._log(
+ logging.DEBUG, "", None, exc_info=exc, extra=self.extra)
+
def _level_to_int(level):
try: