Alexandre Julliard : ntdll: Report failure in KiUserCallbackDispatcher when catching an exception.
Module: wine Branch: master Commit: 7344a124d7f6607991ce9dccc1600c4adc9eae04 URL: https://gitlab.winehq.org/wine/wine/-/commit/7344a124d7f6607991ce9dccc1600c4... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Jan 22 11:26:41 2024 +0100 ntdll: Report failure in KiUserCallbackDispatcher when catching an exception. --- dlls/ntdll/exception.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c index 1691680d3c6..98733045e17 100644 --- a/dlls/ntdll/exception.c +++ b/dlls/ntdll/exception.c @@ -201,8 +201,8 @@ NTSTATUS WINAPI dispatch_user_callback( void *args, ULONG len, ULONG id ) } __EXCEPT_ALL { - ERR( "ignoring exception\n" ); - status = STATUS_SUCCESS; + status = GetExceptionCode(); + ERR( "ignoring exception %lx\n", status ); } __ENDTRY return status;
participants (1)
-
Alexandre Julliard