Browse Source

Fix GifReader exceptions (#13760)

main
ThibG 2 years ago
committed by GitHub
parent
commit
927f9ea499
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/paperclip/gif_transcoder.rb

2
lib/paperclip/gif_transcoder.rb

@ -6,7 +6,7 @@ class GifReader
EXTENSION_LABELS = [0xf9, 0x01, 0xff].freeze
GIF_HEADERS = %w(GIF87a GIF89a).freeze
class GifReaderException; end
class GifReaderException < StandardError; end
class UnknownImageType < GifReaderException; end

Loading…
Cancel
Save