diff --git a/Framework/MDAlgorithms/src/SliceMD.cpp b/Framework/MDAlgorithms/src/SliceMD.cpp index f0b9fbea0f2b26720ce4dfbd874c91c80a2435d3..3bceaf36cf7f5f72e4022f2e5280b0c762942c39 100644 --- a/Framework/MDAlgorithms/src/SliceMD.cpp +++ b/Framework/MDAlgorithms/src/SliceMD.cpp @@ -270,12 +270,11 @@ void SliceMD::slice(typename MDEventWorkspace<MDE, nd>::sptr ws) { try { outWS->copyExperimentInfos(*ws); - } - catch (std::runtime_error &) { + } catch (std::runtime_error &) { g_log.warning() - << this->name() - << " was not able to copy experiment info to output workspace " - << outWS->getName() << '\n'; + << this->name() + << " was not able to copy experiment info to output workspace " + << outWS->getName() << '\n'; } // Pass on the display normalization from the input event workspace to the