handling acquisitionfinished callback

This commit is contained in:
maliakal_d 2020-11-17 15:28:39 +01:00
parent 146d605d19
commit 5c71dd7246

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()));