-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DryIoc Exeption in a Contructor of a Dependecy does tunnel through Resolve call #536
Comments
Could you provide a small repro/illustrating test? |
My first minimal example does work as it should: https://dotnetfiddle.net/TNKroS |
I now found it. The first call raises the exception, the second one throws this error: |
maybe it's possible to store the exception and rethrow it? is that allowed? |
@jogibear9988 Looking... |
https://dotnetfiddle.net/nudfxA |
We have a Dependecy wich throws a Exceptin in a constructor.
On a other Place, we use the Container to Resolve a Interface wich has the failing class as Parameter.
there we get this exception after a Timeout:
Is it possible to configure DryIoc to fail directly with the first exception?
The text was updated successfully, but these errors were encountered: