diff --git a/Framework/MDAlgorithms/src/LoadDNSSCD.cpp b/Framework/MDAlgorithms/src/LoadDNSSCD.cpp index 8206ee2b6f3065398c0e20178e9779be33c9ff97..6c1ca007c0e2f90dae73928d1db184b64829e70d 100644 --- a/Framework/MDAlgorithms/src/LoadDNSSCD.cpp +++ b/Framework/MDAlgorithms/src/LoadDNSSCD.cpp @@ -4,6 +4,8 @@ #include <iomanip> #include <boost/date_time/posix_time/posix_time.hpp> #include <boost/regex.hpp> +#include <boost/exception/diagnostic_information.hpp> +#include <boost/exception_ptr.hpp> #include <Poco/DateTime.h> #include <Poco/DateTimeFormat.h> #include <Poco/DateTimeFormatter.h> @@ -292,6 +294,7 @@ void LoadDNSSCD::exec() { } catch (...) { g_log.warning() << "Failed to read file " << fname; g_log.warning() << ". This file will be ignored. " << std::endl; + g_log.warning() << boost::current_exception_diagnostic_information() << std::endl; } }