summaryrefslogtreecommitdiff
path: root/lib/gitlab/doctor/secrets.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/doctor/secrets.rb')
-rw-r--r--lib/gitlab/doctor/secrets.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/doctor/secrets.rb b/lib/gitlab/doctor/secrets.rb
index 31c5dded3ff..1a1e9fafb1e 100644
--- a/lib/gitlab/doctor/secrets.rb
+++ b/lib/gitlab/doctor/secrets.rb
@@ -77,7 +77,7 @@ module Gitlab
true
rescue OpenSSL::Cipher::CipherError, TypeError
false
- rescue => e
+ rescue StandardError => e
logger.debug "> Something went wrong for #{data.class.name}[#{data.id}].#{attr}: #{e}".color(:red)
false