mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:42:57 +00:00
Invoke always our own exception handler if the exception wasn't handled. It prints some nice informations.
svn path=/trunk/; revision=17597
This commit is contained in:
parent
3e0e6887f8
commit
276ca539bd
1 changed files with 5 additions and 1 deletions
|
@ -36,10 +36,14 @@ _SEH_FILTER(BaseExceptionFilter)
|
||||||
}
|
}
|
||||||
_SEH_HANDLE
|
_SEH_HANDLE
|
||||||
{
|
{
|
||||||
ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo);
|
|
||||||
}
|
}
|
||||||
_SEH_END;
|
_SEH_END;
|
||||||
}
|
}
|
||||||
|
if ((ExceptionDisposition == EXCEPTION_CONTINUE_SEARCH || ExceptionDisposition == EXCEPTION_EXECUTE_HANDLER) &&
|
||||||
|
GlobalTopLevelExceptionFilter != UnhandledExceptionFilter)
|
||||||
|
{
|
||||||
|
ExceptionDisposition = UnhandledExceptionFilter(ExceptionInfo);
|
||||||
|
}
|
||||||
|
|
||||||
return ExceptionDisposition;
|
return ExceptionDisposition;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue