exception dump

This commit is contained in:
Vadim Lopatin 2015-01-14 20:47:31 +03:00
parent 359ac8d0ba
commit 7d0d4a4f01
1 changed files with 6 additions and 1 deletions

View File

@ -751,8 +751,13 @@ mixin template APP_ENTRY_POINT() {
extern (Windows) int WinMain(void* hInstance, void* hPrevInstance,
char* lpCmdLine, int nCmdShow)
{
try {
return DLANGUIWinMain(hInstance, hPrevInstance,
lpCmdLine, nCmdShow);
} catch (Exception e) {
Log.e("Exception: ", e);
return 1;
}
}
}
}