# HG changeset patch # User Vincent Tondellier # Date 1407449139 -7200 # Node ID 009bc678f0ef73174c82fa94a10d3537146eb8fc # Parent 6fa3cf9cf915916c36e911386ae8ad927df07cd6 Remove debug code diff -r 6fa3cf9cf915 -r 009bc678f0ef lib/CrashTest/StackFilter.pm --- a/lib/CrashTest/StackFilter.pm Fri Aug 08 00:02:55 2014 +0200 +++ b/lib/CrashTest/StackFilter.pm Fri Aug 08 00:05:39 2014 +0200 @@ -14,7 +14,6 @@ package CrashTest::StackFilter; use Mojo::Base -base; use Mojo::Loader; -use Data::Dumper; has [ qw/config app filters/ ]; @@ -34,7 +33,7 @@ my ($self, $thread) = @_; foreach my $filter(@{$self->filters}) { - say "apply filter $filter"; + #say "apply filter $filter"; $thread = $filter->apply($thread); } @@ -50,7 +49,7 @@ my $e = $loader->load($module); die qq{Loading "$module" failed: $e} and next if ref $e; -# say "loading $module"; + #say "loading $module"; push @filters, $module->new(config => $self->config, app => $self->app); } @@ -74,7 +73,6 @@ # sort by prio @modules = sort { $b->[1] <=> $a->[1] } @modules; - say Dumper(@modules); # instanciate my @filters = map { $_->[0]->new(config => $self->config, app => $self->app) } @modules; @@ -82,5 +80,3 @@ } 1; - -