Method: Shhh::Application#execute
- Defined in:
- lib/shhh/application.rb
#execute ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/shhh/application.rb', line 45 def execute execute! rescue ::OpenSSL::Cipher::CipherError => e error type: 'Cipher Error', details: e., reason: 'Perhaps either the secret is invalid, or encrypted data is corrupt.', exception: e rescue Shhh::Errors::Error => e error type: e.class.name.split(/::/)[-1], details: e. rescue StandardError => e error exception: e end |