aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc')
-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