aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-08-01 16:18:04 +0100
committerMatthew Lemon <y@yulqen.org>2024-08-01 16:18:04 +0100
commit0b4c36d93a6ac43fe0e90e44549c2de99f3c6cdf (patch)
treed9276eada5b592324fc19b65edfd5ab7763b6928
parentbad2be31054ff5277b97230b5157edf6a8dd06cc (diff)
Releasing the exception working to the error message.
-rw-r--r--pyblackbird_cc/resources/views.py4
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