changes for eiger server to return error if error

This commit is contained in:
Dhanya Maliakal
2017-10-06 13:48:06 +02:00
parent 2aed12dcb9
commit 44bf4c52ed
8 changed files with 58 additions and 31 deletions

View File

@ -1911,8 +1911,9 @@ slsDetectorDefs::runStatus multiSlsDetector::getRunStatus() {
s1=detectors[i]->getRunStatus();
if(detectors[i]->getErrorMask())
setErrorMask(getErrorMask()|(1<<i));
if (s1==ERROR)
s=ERROR;
if (s1==ERROR) {
return ERROR;
}
if (s1!=IDLE)
s = s1;
// if (s1==IDLE && s!=IDLE)