diff options
author | ThibG <thib@sitedethib.com> | 2020-05-15 11:38:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 11:38:12 +0200 |
commit | 927f9ea4997676bcceea0d625703ac6ec66a68b2 (patch) | |
tree | 60022dc21b13ab754b537303463c814eee618af2 | |
parent | 27ea7c13a554d41c4bd83a2712b711d2ef55629c (diff) |
Fix GifReader exceptions (#13760)
-rw-r--r-- | lib/paperclip/gif_transcoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/paperclip/gif_transcoder.rb b/lib/paperclip/gif_transcoder.rb index 64f12f963..9f3c8e8be 100644 --- a/lib/paperclip/gif_transcoder.rb +++ b/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 |