From 0441c91557347aa01d16d7890ba7fb4abc1e46cf Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 16 Aug 2013 13:55:05 +0000 Subject: [PATCH] included detailed error of settings file could not find git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@656 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp b/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp index d0885fc92..477cf24a2 100644 --- a/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetectorUtils.cpp @@ -738,6 +738,10 @@ int slsDetectorUtils::retrieveDetectorSetup(string const fname1, int level){ #ifdef VERBOSE std::cout<< "Read " << iline << " lines" << std::endl; #endif + + if (getErrorMask()) + return FAIL; + return OK;