diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index e63a74538..2975097ac 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -293,7 +293,6 @@ slsDetectorDefs::detectorType slsDetector::getDetectorType(const char *name, int s->Disconnect(); } else { cout << "Cannot connect to server " << name << " over port " << cport << endl; - setErrorMask((getErrorMask())|(CANNOT_CONNECT_TO_DETECTOR)); } delete s;