Commit 588a6e5c authored by Alejandro Homs Puron's avatar Alejandro Homs Puron Committed by operator for beamline
Browse files

Protect against exceptions in Jungfrau::Thread processing

parent dd96373a
Pipeline #42640 failed with stages
in 7 minutes and 8 seconds
......@@ -324,7 +324,14 @@ void Jungfrau::Thread::threadFunction()
wait();
}
if (s == Running)
m_jungfrau->processOneFrame(l);
try {
m_jungfrau->processOneFrame(l);
} catch (Exception& e) {
Camera *cam = m_jungfrau->getCamera();
string name = ("Jungfrau::Thread::"
"threadFunction");
cam->reportException(e, name);
}
}
s = End;
......
Markdown is supported
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