From 8d8457d1e9b6d93847198c52b16b55c94070280e Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 10 Sep 2024 20:39:24 +0100 Subject: Removes exception object from logging statement --- pyblackbird_cc/resources/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyblackbird_cc/resources') diff --git a/pyblackbird_cc/resources/views.py b/pyblackbird_cc/resources/views.py index f802350..4a61988 100644 --- a/pyblackbird_cc/resources/views.py +++ b/pyblackbird_cc/resources/views.py @@ -115,7 +115,7 @@ def _extract_metadata_from_resource(resource_obj) -> ResourceInfo | None: updated=resource_obj.updated_at, ) except Exception as e: - logging.exception(f"Error extracting resource information: {e}") + logging.exception("Error extracting resource information: ") return None -- cgit v1.2.3