Skip to content

Commit

Permalink
Fix GifReader exceptions (mastodon#13760)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored and Mage committed Jan 14, 2022
1 parent 12fc07c commit 76e6f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip/gif_transcoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 76e6f45

Please sign in to comment.