summaryrefslogtreecommitdiff
path: root/app/models/concerns/sha256_attribute.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/sha256_attribute.rb')
-rw-r--r--app/models/concerns/sha256_attribute.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/sha256_attribute.rb b/app/models/concerns/sha256_attribute.rb
index 9dfe1b77829..5c52236ab6d 100644
--- a/app/models/concerns/sha256_attribute.rb
+++ b/app/models/concerns/sha256_attribute.rb
@@ -33,7 +33,7 @@ module Sha256Attribute
unless column.type == :binary
raise ArgumentError.new("sha256_attribute #{name.inspect} is invalid since the column type is not :binary")
end
- rescue => error
+ rescue StandardError => error
Gitlab::AppLogger.error "Sha256Attribute initialization: #{error.message}"
raise
end