Skip to content
Snippets Groups Projects
Commit a8f24a73 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

SW-488: try/except/log for individual steps

parent d0ffbf93
No related branches found
No related tags found
No related merge requests found
......@@ -533,9 +533,15 @@ class TBBControlService:
logger.exception('Could not create storage map. Will try to dump anyway.')
# start upload
self.upload_data(lcus_str, dm, starttime, duration, subbands, waittime, boards)
try:
self.upload_data(lcus_str, dm, starttime, duration, subbands, waittime, boards)
except:
logger.exception('Error while uploading tbb data to cep.')
self._add_meta_data_to_h5_files(output_path)
try:
self._add_meta_data_to_h5_files(output_path)
except:
logger.exception('Error adding meta-data to h5 files in %s.' % (output_path,))
# restart recording
self.restart_recording(lcus_str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment