On Mon, 03 Jun 2013 22:08:18 +0200
Niels Larsen <[email protected]> wrote:
> Shouldn't Dancer's error traceback include the user code?
Yes.
I just scaffolded a fresh app, added a call to Foo->foo(), and in
lib/Foo.pm, added a die() call.
Hitting the app, I get the Dancer error page, with the error message
right at the top:
Helpful error message
at /home/davidp/tmp/dancertests/errorreporting/lib/Foo.pm line 4,
<DATA> line 16.
Oddly though, the stack presented includes bin/app.pl and Dancer's guts
only, not lib/errorreporting.pm (the app code) or lib/Foo.pm (the
"module") that died).
I'll look into that when I have a moment.
--
David Precious ("bigpresh") <[email protected]>
http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan www.preshweb.co.uk/github
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users