Catch specific exception. Fixes #38 (I think).
This commit is contained in:
parent
a738143f3e
commit
336fcd3c0e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ EOF
|
||||||
|
|
||||||
begin
|
begin
|
||||||
options = inst.options
|
options = inst.options
|
||||||
rescue
|
rescue NoMethodError
|
||||||
print_usage_and_die "You need to activate the deploy extension in config.rb."
|
print_usage_and_die "You need to activate the deploy extension in config.rb."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue