diff options
| author | 2025-12-20 05:49:04 -0500 | |
|---|---|---|
| committer | 2025-12-20 05:49:04 -0500 | |
| commit | a24ec1647aeac35a63b744ea856011ad6e06be3b (patch) | |
| tree | ae94416de786aeddd05d99559098f7f16bb103a6 /gallery_dl/actions.py | |
| parent | 33f8a8a37a9cba738ef25fb99955f0730da9eb48 (diff) | |
New upstream version 1.31.1.upstream/1.31.1
Diffstat (limited to 'gallery_dl/actions.py')
| -rw-r--r-- | gallery_dl/actions.py | 5 |
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: |
