VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/UserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-05 12:12:37 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-04-05 14:25:15 +0200
commita284922ce45ca777dd98b53e846603c63cb44904 (patch)
tree793cc87115c8a70f0753250a2ed4fb0adc1b8f21 /src/Main/UserInterface.cpp
parentc4d30b34ba42c807ddb8ad6c0a98beafcee68a81 (diff)
downloadVeraCrypt-a284922ce45ca777dd98b53e846603c63cb44904.tar.gz
VeraCrypt-a284922ce45ca777dd98b53e846603c63cb44904.zip
Linux/MacOSX: Always add the source location when system exception occur in order to help diagnose users issues.
Diffstat (limited to 'src/Main/UserInterface.cpp')
-rw-r--r--src/Main/UserInterface.cpp3
1 files changed, 1 insertions, 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;
}
}