Replies: 1 comment
-
This is the behavior of how .NET exception handling works. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is related to #1780.
Consider this code:
After running this I get:
Is this behavior expected?
In my case, I had several calls to different methods performing specialized assertions. One of them was throwing an exception. Identifying (even noticing) the problem was difficult, it looked like the failure was only due to some assertions that failed.
Not sure how feasible is this, but from user perspective it would be very helpful if there's additional information or warning if there were other exceptions that happened within AssertionScope.
Any thoughts/suggestions?
Beta Was this translation helpful? Give feedback.
All reactions