Linux/MacOSX: Always add the source location when system exception occur in order to help diagnose users issues.

This commit is contained in:
Mounir IDRASSI
2015-04-05 14:25:15 +02:00
parent c4d30b34ba
commit a284922ce4
+1 -2
View File
@@ -340,10 +340,9 @@ namespace VeraCrypt
message << L"\n\n" << LangString["ERR_HARDWARE_ERROR"]; message << L"\n\n" << LangString["ERR_HARDWARE_ERROR"];
#endif #endif
#ifdef DEBUG
if (sysEx && sysEx->what()) if (sysEx && sysEx->what())
message << L"\n\n" << StringConverter::ToWide (sysEx->what()); message << L"\n\n" << StringConverter::ToWide (sysEx->what());
#endif
return message; return message;
} }
} }