Remove debug code
authorVincent Tondellier <tonton+hg@team1664.org>
Fri, 08 Aug 2014 00:05:39 +0200
changeset 39 009bc678f0ef
parent 38 6fa3cf9cf915
child 40 373c7f784bc2
Remove debug code
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;
-
-