diff options
author | Matthew Lemon <y@yulqen.org> | 2024-08-01 16:18:04 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-08-01 16:18:04 +0100 |
commit | 0b4c36d93a6ac43fe0e90e44549c2de99f3c6cdf (patch) | |
tree | d9276eada5b592324fc19b65edfd5ab7763b6928 | |
parent | bad2be31054ff5277b97230b5157edf6a8dd06cc (diff) |
Releasing the exception working to the error message.
-rw-r--r-- | pyblackbird_cc/resources/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index 9d85bfa..40ca4aa 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -123,8 +123,8 @@ def _extract_metadata_from_resource(resource_obj) -> ResourceInfo | None: created=resource_obj.created_at, updated=resource_obj.updated_at, ) - except Exception: - logging.exception("Error extracting resource information") + except Exception as e: + logging.exception(f"Error extracting resource information: {e}") return None |