ntdll: Print an ERR for assertion exceptions only.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
225f9eb38b
commit
66a819ef0c
|
@ -174,8 +174,8 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
|
|||
}
|
||||
else
|
||||
{
|
||||
if (rec->ExceptionFlags & EH_NONCONTINUABLE)
|
||||
ERR( "Fatal %s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
if (rec->ExceptionCode == STATUS_ASSERTION_FAILURE)
|
||||
ERR( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
else
|
||||
WARN( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
|
||||
|
|
|
@ -515,8 +515,8 @@ NTSTATUS WINAPI KiUserExceptionDispatcher( EXCEPTION_RECORD *rec, CONTEXT *conte
|
|||
}
|
||||
else
|
||||
{
|
||||
if (rec->ExceptionFlags & EH_NONCONTINUABLE)
|
||||
ERR( "Fatal %s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
if (rec->ExceptionCode == STATUS_ASSERTION_FAILURE)
|
||||
ERR( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
else
|
||||
WARN( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
|
||||
|
|
|
@ -206,8 +206,8 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
|
|||
}
|
||||
else
|
||||
{
|
||||
if (rec->ExceptionFlags & EH_NONCONTINUABLE)
|
||||
ERR( "Fatal %s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
if (rec->ExceptionCode == STATUS_ASSERTION_FAILURE)
|
||||
ERR( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
else
|
||||
WARN( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
|
||||
|
|
|
@ -552,8 +552,8 @@ NTSTATUS WINAPI dispatch_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
|
|||
}
|
||||
else
|
||||
{
|
||||
if (rec->ExceptionFlags & EH_NONCONTINUABLE)
|
||||
ERR( "Fatal %s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
if (rec->ExceptionCode == STATUS_ASSERTION_FAILURE)
|
||||
ERR( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
else
|
||||
WARN( "%s exception (code=%x) raised\n", debugstr_exception_code(rec->ExceptionCode), rec->ExceptionCode );
|
||||
|
||||
|
|
Loading…
Reference in New Issue