-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Proxy mode: Unhandled exception when target is not working #467
Comments
Preview version |
Tested. For me, it doesn't return "No such host is known.", but "No connection could be made because the target machine actively refused it.":
Anyway, it's much better than a stack trace :D |
I run the tests for netcore 3.1 and I noticed a difference there, so I just check on |
I also used netcore 3.1, but on Windows, maybe that's the reason |
OK, the difference is that I try to connect to a non-existing hostname. |
Ah, sure, you are right, thanks. |
I'll merge to master. New NuGet will be released soon. |
WireMock returns stack trace instead of a meaningful message, it is very misleading.
Repro: https://github.com/LevYas/WireMockNetRepro
It would be very nice to return a message, saying that the target is not available.
The text was updated successfully, but these errors were encountered: