]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
silently fail if ssh_key cannot be loaded
authorelijah <elijah@riseup.net>
Thu, 30 Oct 2014 00:54:36 +0000 (17:54 -0700)
committerelijah <elijah@riseup.net>
Thu, 30 Oct 2014 00:54:36 +0000 (17:54 -0700)
lib/leap_cli/ssh_key.rb

index a525128bc838091c7bfd4cf4e49fbc89d22c26a0..bd5bf43c3d0f754ac55093bd81bb6a4c63c000cf 100644 (file)
@@ -33,6 +33,7 @@ module LeapCli
         end
       end
       return key
+    rescue StandardError => exc
     end
 
     def self.load_from_file(filename)