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
-
Hello,
In 4.9.0, it appears that when the
HttpResponse.ErrorData
is set into the newDataPortalException
on Line 274 of theHttpProxy
class, theHttpErrorInfo.InnerError
property is ignored. Therefore, when the exception thrown from the server ends up containing aInnerException
, theErrorInfo.InnerError
property received by the client is not set intoDataPortalException.InnerException
so 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
DataPortalResult
has no direct reference toresponse.ErrorData
and it appears that allnew DataPortalException()
does is set theinfo.Message
to the base class, theInnerError
data does not appear accessible.I would expect some sort of recursive implementation to set the
InnerException
properties all the way down, butException.InnerException
cannot 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