[BACKEND] Log full subscription errors (#793)

This commit is contained in:
Jesse Bannon 2023-11-03 10:12:15 -07:00 committed by GitHub
parent e9b2214a0a
commit 33a8da9afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -364,6 +364,7 @@ class SubscriptionDownload(BaseSubscription, ABC):
try:
yield
except Exception as exc: # pylint: disable=broad-except
logger.exception("The following error occurred for the subscription %s:", self.name)
self._exception = exc
return self.transaction_log