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:
@@ -385,7 +385,7 @@ BOOL CALLBACK ExpandVolProgressDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, L
|
||||
pProgressDlgParam->hwndDlg = hwndDlg;
|
||||
if ( _beginthread (volTransformThreadFunction, 0, pProgressDlgParam) == -1L )
|
||||
{
|
||||
handleError (hwndDlg, ERR_OS_ERROR);
|
||||
handleError (hwndDlg, ERR_OS_ERROR, SRC_POS);
|
||||
EndDialog (hwndDlg, lw);
|
||||
}
|
||||
WaitCursor();
|
||||
@@ -572,7 +572,7 @@ void ExpandVolumeWizard (HWND hwndDlg, char *lpszVolume)
|
||||
|
||||
NormalCursor();
|
||||
|
||||
handleError (hwndDlg, nStatus);
|
||||
handleError (hwndDlg, nStatus, SRC_POS);
|
||||
}
|
||||
|
||||
WaitCursor();
|
||||
@@ -722,7 +722,7 @@ ret:
|
||||
error:
|
||||
|
||||
if (nStatus != 0)
|
||||
handleError (hwndDlg, nStatus);
|
||||
handleError (hwndDlg, nStatus, SRC_POS);
|
||||
|
||||
burn (&VolumePassword, sizeof (VolumePassword));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user