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

Added IMS task error log message for update screen. RE DBOARD3-1003

parent c7605a69
No related branches found
No related tags found
No related merge requests found
......@@ -1055,8 +1055,10 @@ def ims_task(self, use_current=False):
transformed_data = transform_ims_data(extracted_data)
persist_ims_data(transformed_data, use_current)
except Exception:
except Exception as e:
errmsg = f'Error in IMS task {e}'
logger.exception('Error in IMS task:')
self.log_error(errmsg)
update_latch_status(InventoryTask.config, pending=True, failure=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment