Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Output the error message to the debugger, since fucking WinRT COMExce…
Browse files Browse the repository at this point in the history
…ption refuses to print the message to the debugger
  • Loading branch information
pke committed Mar 22, 2013
1 parent 83f9401 commit 02431a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SQLite3Component/Common.cpp
Expand Up @@ -34,6 +34,8 @@ namespace SQLite3 {
hresult = MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, resultCode);
hresult |= 0x20000000; // Set "customer-defined" bit
}
OutputDebugStringW(message->Data());
OutputDebugStringW(L"\n");
throw ref new Platform::COMException(hresult, message);
}

Expand Down

0 comments on commit 02431a6

Please sign in to comment.