Merge branch 'callbacksafe' of github.com:slsdetectorgroup/slsDetectorPackage into callbacksafe

This commit is contained in:
Erik Frojdh 2020-11-17 15:33:13 +01:00
commit bfe8cb7020

View File

@ -604,6 +604,10 @@ void Implementation::stopReceiver() {
acquisitionFinishedCallBack((tot / numThreads),
pAcquisitionFinished);
} catch (const std::exception &e) {
// change status
status = IDLE;
LOG(logINFO) << "Receiver Stopped";
LOG(logINFO) << "Status: " << sls::ToString(status);
throw sls::RuntimeError(
"Acquisition Finished Callback Error: " +
std::string(e.what()));