projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
no need for throwing exception
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst.pm
diff --git
a/lib/Catalyst.pm
b/lib/Catalyst.pm
index
1b4c69f
..
47e9134
100644
(file)
--- 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);
}