X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;fp=lib%2FCatalyst.pm;h=47e91343511d99047497ea942139a09e176698c9;hb=1b9a4c17043fd97193d8718d1f2f155f0b3ac6c5;hp=1b4c69fcc451201303ee822d99c827224a679e58;hpb=8287cb1c9c2cd36b97ccbb75fc2c2b6bb32a7857;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 1b4c69f..47e9134 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -146,8 +146,7 @@ sub BUILD { my $self = shift; my $class = ref $self; - Catalyst::Exception->throw("You can't run the application before $class" . "->setup") - unless $class->setup_finished; + return unless $class->setup_finished; $self->container->_set_application($self); }