Closed pnevill closed 6 years ago
Thanks for raising this, I'll take a look at it.
This has been fixed in the latest version which I'm hoping to release tomorrow, thanks for reporting it!
Thanks, the new version is working well!
Great! Thanks for reporting the issue in the first place :) I've also added a logging endpoint too.
Already started using the new logging endpoint that you added - great addition. Thanks again.
In the example below, I would expect the message "Something went wrong!" to be returned whenever any exception other than a DivideByZeroException is encountered.
This however doesn't happen, because the HandleExceptionAsync method creates a new instance of DefaultExceptionConfig, which provides its own Formatter.
Removing the Formatter from the DefaultExceptionConfig seems to solve my issue, but may have result in issues for other scenarios.