fix: report better errors on critical failures #235

Merged
perl_d merged 1 commits from fix/repeated_mount_failuers into main 2026-09-17 15:53:27 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -415,7 +415,7 @@ class SampleQueuePanel(QFrame):
self._emit_samples_in_queue_changed()
self.automation_running_changed.emit(False)
@Slot(int, bool)
@Slot(int, bool, str)
def automated_scan_done(self, db_id: int, success: bool, reply: str):
if self._current_db_id is not None and db_id != self._current_db_id:
return
@@ -470,7 +470,7 @@ class SampleQueuePanel(QFrame):
self.show_error_dialog(
title=reply,
msg="Critical Error",
info="Repeated mount failuers.\n"
info="Repeated mount failures.\n"
"Please check to see if pins"
" are loaded in these postions."
"\n If not please continue with new "
+1 -1
View File
@@ -111,7 +111,7 @@ class DAQWorker(QObject):
# from /status; surfaced as a non-modal warning banner.
pss_alarm_changed = Signal(bool)
automated_scan_done = Signal(int, bool, str) # sample ID, success
automated_scan_done = Signal(int, bool, str) # sample ID, success, message
run_number_incremented = Signal()
raster_scan_completed = Signal(CompletedRasterGrid)
standard_scan_completed = Signal(CompletedRotationScan)