remove Test::WWW::Mechanize::Catalyst from Makefile.PL (circular dep)
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index 768e013..711fb16 100644 (file)
@@ -593,8 +593,6 @@ sub component {
 
         $comp = $c->_comp_search($name);
         return $c->_filter_component( $comp, @_ ) if defined($comp);
-
-       croak("Unable to find component $name");
     }
 
     return sort keys %{ $c->components };