summaryrefslogtreecommitdiff
path: root/provider_base/lib
diff options
context:
space:
mode:
Diffstat (limited to 'provider_base/lib')
-rw-r--r--provider_base/lib/macros/core.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/provider_base/lib/macros/core.rb b/provider_base/lib/macros/core.rb
index d4d9171f..609111ac 100644
--- a/provider_base/lib/macros/core.rb
+++ b/provider_base/lib/macros/core.rb
@@ -64,6 +64,7 @@ module LeapCli
def try(&block)
yield
rescue NoMethodError
+ rescue ArgumentError
nil
end