mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-09 17:15:18 +00:00
Fix GifReader exceptions (#13760)
This commit is contained in:
parent
27ea7c13a5
commit
927f9ea499
|
@ -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…
Reference in a new issue