On Sat, Jan 18, 2014 at 09:16:30AM -0800, Ovid wrote:
Maybe provide a way of filtering them? I wouldn't mind filtering stack traces to skip frames from Moose, Class::Mop, Eval::Closure, DBI::Cass, SQL::Abstract and so on. The bugs are usually in my code and that's where I want to look for them.
The thing I think people would most find useful is being able to, in some
way, identify the first point in the *user's* code that caused an error, as
opposed to all the layers of Moose in between (perhaps by some sort of
decorating of each of the frames as "in Moose", "not in Moose". (Being able
to remove those intermediary lines entirely might be useful in some
applications, but making it the default is likely to cause more anger and
confusion than it would solve.)

Also, I'd like us to restore the previous 'error_class' mechanism for
indicating in your own Moose-based objects how errors should be delivered.
It wasn't a well-used feature, but we accidentally lost it in the 2.1200
release, and some code on the cpan does use it, so it will be nice to bring
that back before its absence is noticed.

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupmoose @
postedJan 18, '14 at 4:54p
activeJan 18, '14 at 6:14p



site design / logo © 2021 Grokbase