Exception-Reporter-Summarizer-Catalyst
view release on metacpan or search on metacpan
lib/Exception/Reporter/Summarizer/Catalyst.pm view on Meta::CPAN
#pod being explicit if you're concerned about this behavior.
#pod
#pod =cut
use Try::Tiny;
sub new {
my ($class, $arg) = @_;
$arg ||= {};
return bless { resolve_hostname => !! $arg->{resolve_hostname} } => $class;
}
sub resolve_hostname { $_[0]->{resolve_hostname} }
sub can_summarize {
my ($self, $entry) = @_;
return try { $entry->[1]->isa('Catalyst') };
}
sub summarize {
( run in 0.638 second using v1.01-cache-2.11-cpan-65fba6d93b7 )