Commit fbd5e1a3 authored by Samuel Debionne's avatar Samuel Debionne
Browse files

Add status info to error exception in CtControl::startAcq()

parent 0801d32e
Pipeline #75034 passed with stages
in 34 minutes and 13 seconds
......@@ -613,8 +613,8 @@ void CtControl::startAcq()
//First check the detector is in Idle Stat
HwInterface::Status hwStatus;
m_hw->getStatus(hwStatus);
if(hwStatus.det != DetIdle)
THROW_CTL_ERROR(Error) << "Try to restart before detector is ready";
if (hwStatus.det != DetIdle)
THROW_CTL_ERROR(Error) << "Try to restart before detector is ready. HW status is " << hwStatus;
//m_ready = false after the last image is triggerred
int nbFrames4Acq;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment