From: Tomas Doran Date: Mon, 24 Sep 2012 20:19:45 +0000 (+0100) Subject: Make this a warning so it's a little more obvious X-Git-Tag: 5.90017~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=f63dea6f7e1a5e14ef1cc21b71f7bcb20b2bb27a Make this a warning so it's a little more obvious --- 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;