diff options
| author | 2024-09-28 20:01:25 -0400 | |
|---|---|---|
| committer | 2024-09-28 20:01:25 -0400 | |
| commit | 1a457ed68769880ab7760e0746f0cbbd9ca00487 (patch) | |
| tree | a5e2f36fa6537e24a7a8851dab900ea03efdbd00 /gallery_dl/job.py | |
| parent | 1f3ffe32342852fd9ea9e7704022488f3a1222bd (diff) | |
New upstream version 1.27.5.upstream/1.27.5
Diffstat (limited to 'gallery_dl/job.py')
| -rw-r--r-- | gallery_dl/job.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gallery_dl/job.py b/gallery_dl/job.py index c995767..4affd55 100644 --- a/gallery_dl/job.py +++ b/gallery_dl/job.py @@ -158,11 +158,12 @@ class Job(): raise except exception.GalleryDLException as exc: log.error("%s: %s", exc.__class__.__name__, exc) + log.debug("", exc_info=exc) self.status |= exc.code except OSError as exc: log.error("Unable to download data: %s: %s", exc.__class__.__name__, exc) - log.debug("", exc_info=True) + log.debug("", exc_info=exc) self.status |= 128 except Exception as exc: log.error(("An unexpected error occurred: %s - %s. " @@ -170,7 +171,7 @@ class Job(): "copy its output and report this issue on " "https://github.com/mikf/gallery-dl/issues ."), exc.__class__.__name__, exc) - log.debug("", exc_info=True) + log.debug("", exc_info=exc) self.status |= 1 except BaseException: self.status |= 1 @@ -641,7 +642,7 @@ class DownloadJob(Job): except Exception as exc: pp_log.error("'%s' initialization failed: %s: %s", name, exc.__class__.__name__, exc) - pp_log.debug("", exc_info=True) + pp_log.debug("", exc_info=exc) else: pp_list.append(pp_obj) |
