From: Tomas Doran Date: Wed, 12 Aug 2009 00:15:51 +0000 (+0000) Subject: Tiny change to make the error make more sense X-Git-Tag: 5.80008~23 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d0e5dfb535fa8c2488caf7895153d9f31622ca62;hp=282b0c8fabf758c656bfbe06de7d15a3104b01d9;p=catagits%2FCatalyst-Runtime.git Tiny change to make the error make more sense --- diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index c8db2e7..a086eb2 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -44,6 +44,8 @@ sub BUILD { $self->_controller_actions($attr_value); } + + =head1 NAME Catalyst::Controller - Catalyst Controller base class @@ -178,7 +180,7 @@ around path_prefix => sub { sub get_action_methods { my $self = shift; my $meta = find_meta($self); - confess("Metaclass for " + confess("Metaclass " . ref($meta) . " for " . $meta->name . " cannot support register_actions." )