GUI/DAQ_WORKER: added sample_missing signal that triggers if sample is missing.

This commit is contained in:
appleb_m committed 2025-12-10 13:33:59 +01:00
1 parent fadf069129
commit 77feb00b71
1 file changed
+2
+2
View File
@@ -396,6 +396,8 @@ class DAQWorker(QObject):
if reply.attribute(QNetworkRequest.Attribute.HttpStatusCodeAttribute) == 401:
logger.error(f"Error in auto scan: {reply.errorString()}")
self.auth_error.emit()
elif reply.attribute(QNetworkRequest.Attribute.HttpStatusCodeAttribute) == 404:
self.sample_missing.emit(reply.errorString())
else:
logger.error(f"Error in auto scan: {reply.errorString()}")
self.http_error.emit(reply.errorString())