GUI/DAQ_WORKER: added sample_missing signal that triggers if sample is missing.
This commit is contained in:
1 parent
fadf069129
commit
77feb00b71
1 file changed
+2
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user