From 26f4ab33a3c2b5ee7fb1c126be33f79570684d1a Mon Sep 17 00:00:00 2001 From: Marina Ganeva <m.ganeva@fz-juelich.de> Date: Thu, 5 Apr 2018 08:36:46 +0200 Subject: [PATCH] Refs #21293 print diagnostic information for windows failure --- Framework/MDAlgorithms/src/LoadDNSSCD.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Framework/MDAlgorithms/src/LoadDNSSCD.cpp b/Framework/MDAlgorithms/src/LoadDNSSCD.cpp index 8206ee2b6f3..6c1ca007c0e 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; } } -- GitLab