You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling to an out-of-process WinRT server, any exceptions from the server will become a COMException without any exception message on the client.
Expected behavior
The exception should contain the exception message from the server ("Exception from server").
Actual behavior
No helpful exception messages.
System.Runtime.InteropServices.COMException (0x80131500)
at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|39_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.WinRTServer.ITestClassClassMethods.Test(IObjectReference _obj)
at WinRTServer.TestClass.Test()
at Program.<Main>$(String[] args)
Version Info
CsWinRT 2.0.7
Additional context
The text was updated successfully, but these errors were encountered:
hez2010
changed the title
Exception doesn't propagate from an out-of-process WinRT server
Exception message doesn't propagate from an out-of-process WinRT server
Apr 6, 2024
Describe the bug
When calling to an out-of-process WinRT server, any exceptions from the server will become a
COMException
without any exception message on the client.To Reproduce
eh-repro
: https://github.com/hez2010/WinRTServer/tree/eh-reproExpected behavior
The exception should contain the exception message from the server ("Exception from server").
Actual behavior
No helpful exception messages.
Version Info
CsWinRT 2.0.7
Additional context
The text was updated successfully, but these errors were encountered: