mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Display source location of errors in order to help diagnose issues reported by users
This commit is contained in:
@@ -983,9 +983,9 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, char *lpszComm
|
||||
if (status != 0)
|
||||
{
|
||||
if (status == ERR_OS_ERROR)
|
||||
handleWin32Error (NULL);
|
||||
handleWin32Error (NULL, SRC_POS);
|
||||
else
|
||||
handleError (NULL, status);
|
||||
handleError (NULL, status, SRC_POS);
|
||||
|
||||
AbortProcess ("NODRIVER");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user