Commit 928fdb8a authored by Steven Murray's avatar Steven Murray
Browse files

Changed 'catch (exception::Exception ex)' to 'catch (exception::Exception...

Changed 'catch (exception::Exception ex)' to 'catch (exception::Exception &ex)' in order to avoid error: catching polymorphic type ‘class cta::exception::Exception’ by value
parent 0e8876b7
......@@ -163,7 +163,7 @@ SubprocessHandler::ProcessingStatus MaintenanceHandler::processSigChild() {
// Check there was no error.
try {
exception::Errnum::throwOnMinusOne(rc);
} catch (exception::Exception ex) {
} catch (exception::Exception &ex) {
cta::log::ScopedParamContainer params(m_processManager.logContext());
params.add("pid", m_pid)
.add("Message", ex.getMessageValue());
......
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