fix: handle mountingfailed specifically and split on critical

This commit is contained in:
perl_d committed 2026-07-09 10:21:13 +02:00
1 parent f6843f38e0
commit 6c91c34451
1 file changed
+7
+7
View File
@@ -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: