From: elijah Date: Thu, 30 Oct 2014 00:54:36 +0000 (-0700) Subject: silently fail if ssh_key cannot be loaded X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dba2fe55527fee88c12e7a7fcda709d00576a9da;p=leap%2Fleap_cli.git silently fail if ssh_key cannot be loaded --- 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)