Skip to content
Snippets Groups Projects
Commit c42a2b9e authored by Robert Latta's avatar Robert Latta
Browse files

added exception logging

parent 778d4cd2
Branches
Tags
No related merge requests found
...@@ -1875,6 +1875,8 @@ def populate_poller_interfaces_cache(warning_callback=lambda s: None): ...@@ -1875,6 +1875,8 @@ def populate_poller_interfaces_cache(warning_callback=lambda s: None):
except Exception as e: except Exception as e:
warning_callback(f"Failed to retrieve all required data {e}") warning_callback(f"Failed to retrieve all required data {e}")
logger.exception(
"Failed to retrieve all required data, logging exception")
if not non_lab_populated_interfaces or not all_populated_interfaces: if not non_lab_populated_interfaces or not all_populated_interfaces:
previous_r = get_current_redis(InventoryTask.config) previous_r = get_current_redis(InventoryTask.config)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment