projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8287cb1
)
no need for throwing exception
André Walker [Wed, 2 May 2012 02:20:37 +0000 (23:20 -0300)]
lib/Catalyst.pm
patch
|
blob
|
blame
|
history
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);
}