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
When JsonDecoder throws ServiceResultException as a result of some inner exception such as FormatException, JsonReaderException or XmlException, it now includes the error message of the inner exception, but not the inner exception object as such. This makes it impossible to do advanced diagnostics or fine-handle the error in the code that uses JsonDecoder.
In principle this also applies to BinaryDecoder/XmlDecoder, and to the encoders, but at this point for my usage the JsonDecoder is the one that needs this most, for PubSub interoperability troubleshooting efforts.
Expected Behavior
A ServiceResultException constructor or ServiceResultException.Create method with the "innerException" parameter should be used instead, and the original exception passed in.
Type of issue
Current Behavior
When JsonDecoder throws ServiceResultException as a result of some inner exception such as FormatException, JsonReaderException or XmlException, it now includes the error message of the inner exception, but not the inner exception object as such. This makes it impossible to do advanced diagnostics or fine-handle the error in the code that uses JsonDecoder.
In principle this also applies to BinaryDecoder/XmlDecoder, and to the encoders, but at this point for my usage the JsonDecoder is the one that needs this most, for PubSub interoperability troubleshooting efforts.
Expected Behavior
A ServiceResultException constructor or ServiceResultException.Create method with the "innerException" parameter should be used instead, and the original exception passed in.
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: