From e02eeb345ad2bc45a83e3e68c375ed69b2445cb3 Mon Sep 17 00:00:00 2001 From: Michael Reuter <reuterma@ornl.gov> Date: Thu, 2 May 2013 18:16:09 -0400 Subject: [PATCH] Refs #6315. Trying to make failure messages more helpful. --- Code/Mantid/Framework/Kernel/src/ConfigService.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp index f9157fdd0d4..bb9edec710c 100644 --- a/Code/Mantid/Framework/Kernel/src/ConfigService.cpp +++ b/Code/Mantid/Framework/Kernel/src/ConfigService.cpp @@ -1756,13 +1756,16 @@ bool ConfigServiceImpl::quickParaViewCheck() const } else { - this->g_log.notice("ParaView is not available"); + std::stringstream messageStream; + messageStream << "ParaView version query failed with code: " << rc; + this->g_log.notice(messageStream.str()); + this->g_log.notice("ParaView is not available, query failed."); } } catch(Poco::SystemException &e) { g_log.debug(e.what()); - this->g_log.notice("ParaView is not available"); + this->g_log.notice("ParaView is not available, Poco::SystemException"); } return isAvailable; } -- GitLab