]> cat aescling's git repositories - mastodon.git/commitdiff
Fix GifReader exceptions (#13760)
authorThibG <thib@sitedethib.com>
Fri, 15 May 2020 09:38:12 +0000 (11:38 +0200)
committerGitHub <noreply@github.com>
Fri, 15 May 2020 09:38:12 +0000 (11:38 +0200)
lib/paperclip/gif_transcoder.rb

index 64f12f9637e57fd63953aa2aa2e6293dd9a40eee..9f3c8e8be339fc0784b6688069cd8fbb4e41241c 100644 (file)
@@ -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