aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-10-29 17:54:36 -0700
committerelijah <elijah@riseup.net>2014-10-29 17:54:36 -0700
commitdba2fe55527fee88c12e7a7fcda709d00576a9da (patch)
tree2640d92ea92dc78000a9167e1cbcf24929078406
parent8da111aa9ff6d13614dcaf4e5a446475a85563e0 (diff)
downloadleap_cli-dba2fe55527fee88c12e7a7fcda709d00576a9da.tar.gz
leap_cli-dba2fe55527fee88c12e7a7fcda709d00576a9da.tar.bz2
silently fail if ssh_key cannot be loaded
-rw-r--r--lib/leap_cli/ssh_key.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/leap_cli/ssh_key.rb b/lib/leap_cli/ssh_key.rb
index a525128..bd5bf43 100644
--- a/lib/leap_cli/ssh_key.rb
+++ b/lib/leap_cli/ssh_key.rb
@@ -33,6 +33,7 @@ module LeapCli
end
end
return key
+ rescue StandardError => exc
end
def self.load_from_file(filename)