5 Feb
2021
5 Feb
'21
2:09 p.m.
On Fri, 5 Feb 2021 08:23:21 -0500 Paul Clements wrote:
error and fatal_handler seem to work much better than the http_throw approach I had been using...
Great, pleased to hear.
Yes, the ability to overload the error object allows me to pass enough information to get the error responses I need.
Good point, I was forgetting that too. You can extend the default message class: use Dancer2::Plugin::LogReport 'myapp', message_class => 'MyApp::Message';
Thanks for your help,
You're welcome. Andy