X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;h=ce68f8e8c19e8746b45dde21b168eaf7d729296a;hp=445d4afee682d8d35bed1c26cadbb6e43d5cc2c3;hb=f63dea6f7e1a5e14ef1cc21b71f7bcb20b2bb27a;hpb=0b0aee670c39f8cb8f140eb62de9bfaf2c343a24 diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 445d4af..ce68f8e 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -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;