diff --git a/lib/keygen/sso.rb b/lib/keygen/sso.rb index e28c3133aa..412827a0ef 100644 --- a/lib/keygen/sso.rb +++ b/lib/keygen/sso.rb @@ -99,10 +99,6 @@ def encrypt(plaintext, secret_key:) .join('.') enc - rescue => e - Keygen.logger.error { "[sso.encrypt] Encrypt failed: err=#{e.message}" } - - nil end def decrypt(ciphertext, secret_key:) @@ -112,10 +108,6 @@ def decrypt(ciphertext, secret_key:) .join('--') crypt.decrypt_and_verify(enc) - rescue => e - Keygen.logger.warn { "[sso.decrypt] Decrypt failed: err=#{e.message}" } - - nil end def derive_key(secret_key)