1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

include debug exception info for GalleryDLException errors

This commit is contained in:
Mike Fährmann 2024-09-19 13:51:27 +02:00
parent 68bff76d90
commit dd56bb2187
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -158,6 +158,7 @@ class Job():
raise
except exception.GalleryDLException as exc:
log.error("%s: %s", exc.__class__.__name__, exc)
log.debug("", exc_info=True)
self.status |= exc.code
except OSError as exc:
log.error("Unable to download data: %s: %s",