fix: handle mountingfailed specifically and split on critical
This commit is contained in:
@@ -2908,6 +2908,13 @@ class AareDAQ:
|
||||
|
||||
raise
|
||||
|
||||
except MountingFailed as e:
|
||||
logger.error(f"Failed to mount sample: {e}")
|
||||
if e.critical:
|
||||
raise e
|
||||
else:
|
||||
pass
|
||||
|
||||
except Exception as e:
|
||||
logger.error(f"Error in measure: {e}")
|
||||
if progress.current_step is not None:
|
||||
|
||||
Reference in New Issue
Block a user