From a284922ce45ca777dd98b53e846603c63cb44904 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 5 Apr 2015 12:12:37 +0200 Subject: Linux/MacOSX: Always add the source location when system exception occur in order to help diagnose users issues. --- src/Main/UserInterface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Main/UserInterface.cpp b/src/Main/UserInterface.cpp index 9894a853..a0819787 100644 --- a/src/Main/UserInterface.cpp +++ b/src/Main/UserInterface.cpp @@ -340,10 +340,9 @@ namespace VeraCrypt message << L"\n\n" << LangString["ERR_HARDWARE_ERROR"]; #endif -#ifdef DEBUG if (sysEx && sysEx->what()) message << L"\n\n" << StringConverter::ToWide (sysEx->what()); -#endif + return message; } } -- cgit v1.2.3