From 0fcf69d289144f14178b5c620ec2c03535b1f8a4 Mon Sep 17 00:00:00 2001 From: davvd Date: Fri, 19 Jul 2024 10:18:05 +0300 Subject: [PATCH] catch proper exception --- Gemfile.lock | 8 ++++---- front/front_login.rb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 274792c..648c080 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -28,8 +28,8 @@ GEM ansi (1.5.0) ast (2.4.2) aws-eventstream (1.3.0) - aws-partitions (1.956.0) - aws-sdk-core (3.201.1) + aws-partitions (1.957.0) + aws-sdk-core (3.201.2) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) @@ -155,7 +155,7 @@ GEM builder minitest (>= 5.0) ruby-progressbar - mocha (2.4.0) + mocha (2.4.2) ruby2_keywords (>= 0.0.5) money (6.19.0) i18n (>= 0.6.4, <= 2) @@ -334,7 +334,7 @@ GEM slop (~> 4.4) xml-simple (1.1.9) rexml - zache (0.13.1) + zache (0.13.2) zold (0.31.8) backtrace (~> 0.3) concurrent-ruby (~> 1.1) diff --git a/front/front_login.rb b/front/front_login.rb index 2263ecf..f356d6c 100644 --- a/front/front_login.rb +++ b/front/front_login.rb @@ -61,7 +61,7 @@ settings.config['github']['encryption_secret'], context ).to_user['login'].downcase - rescue OpenSSL::Cipher::CipherError + rescue GLogin::Codec::DecodingError @locals.delete(:guser) end end