projects
/
gitmo/MooseX-Runnable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
don't die on unknown / unavailable schemes
[gitmo/MooseX-Runnable.git]
/
lib
/
MooseX
/
Runnable
/
Invocation.pm
diff --git
a/lib/MooseX/Runnable/Invocation.pm
b/lib/MooseX/Runnable/Invocation.pm
index
77e3b0b
..
f902511
100644
(file)
--- a/
lib/MooseX/Runnable/Invocation.pm
+++ b/
lib/MooseX/Runnable/Invocation.pm
@@
-66,9
+66,11
@@
sub apply_scheme {
$self->_convert_role_to_scheme($_)
} $class->calculate_all_roles;
- foreach my $scheme (@schemes) {
- $scheme->apply($self);
- }
+ eval {
+ foreach my $scheme (@schemes) {
+ $scheme->apply($self);
+ }
+ };
}