Make this a warning so it's a little more obvious
Tomas Doran [Mon, 24 Sep 2012 20:19:45 +0000 (21:19 +0100)]
lib/Catalyst/Controller.pm

index 445d4af..ce68f8e 100644 (file)
@@ -275,7 +275,7 @@ sub register_action_methods {
         my $attributes = $method->can('attributes') ? $method->attributes : [];
         my $attrs = $self->_parse_attrs( $c, $name, @{ $attributes } );
         if ( $attrs->{Private} && ( keys %$attrs > 1 ) ) {
-            $c->log->debug( 'Bad action definition "'
+            $c->log->warn( 'Bad action definition "'
                   . join( ' ', @{ $attributes } )
                   . qq/" for "$class->$name"/ )
               if $c->debug;