Exception returned from Remote DataPortal does not contain inner exceptions #1712
Unanswered
GreatBarrier86
asked this question in
Questions
Replies: 1 comment 4 replies
-
|
I think that this was address by this specific change. So I am pretty sure the problem is resolved in current versions of the framework. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In 4.9.0, it appears that when the
HttpResponse.ErrorDatais set into the newDataPortalExceptionon Line 274 of theHttpProxyclass, theHttpErrorInfo.InnerErrorproperty is ignored. Therefore, when the exception thrown from the server ends up containing aInnerException, theErrorInfo.InnerErrorproperty received by the client is not set intoDataPortalException.InnerExceptionso we're not able to see what really failed.Am I doing something wrong? I've traced into the code but I don't see anything that would change this setting.
HttpProxy Fetch method
DataPortalException constructor
Since
DataPortalResulthas no direct reference toresponse.ErrorDataand it appears that allnew DataPortalException()does is set theinfo.Messageto the base class, theInnerErrordata does not appear accessible.I would expect some sort of recursive implementation to set the
InnerExceptionproperties all the way down, butException.InnerExceptioncannot be set outside the constructor and I'm not seeing where that would be implemented.This means that in the catch block of one our BO's DataPortal_Fetch method's, the if statement no longer works
Thanks,
Jason
Beta Was this translation helpful? Give feedback.
All reactions