From 88824dbfe9cbd1c6788264f42cf427f1f339f45f Mon Sep 17 00:00:00 2001 From: Samuel Debionne Date: Tue, 15 May 2018 11:13:23 +0200 Subject: [PATCH] Use printErrorStack() since printError() is deprecated --- control/src/CtSaving_Hdf5.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/control/src/CtSaving_Hdf5.cpp b/control/src/CtSaving_Hdf5.cpp index 714eeef5..1680a444 100644 --- a/control/src/CtSaving_Hdf5.cpp +++ b/control/src/CtSaving_Hdf5.cpp @@ -452,7 +452,7 @@ void* SaveContainerHdf5::_open(const std::string &filename, std::ios_base::openm new_file.m_instrument_detector = new Group(instrument.openGroup(m_ct_parameters.det_name)); } } catch (FileIException &error) { - error.printError(); + error.printErrorStack(); THROW_CTL_ERROR(Error) << "File " << filename << " not opened successfully"; } @@ -667,7 +667,7 @@ long SaveContainerHdf5::_writeFile(void* f,Data &aData, // catch failure caused by the DataSet operations }catch (DataSetIException& error) { THROW_CTL_ERROR(Error) << "DataSet not created successfully " << error.getCDetailMsg(); - error.printError(); + error.printErrorStack(); } // catch failure caused by the DataSpace operations catch (DataSpaceIException& error) { -- GitLab