From: Takeshi Umeda Date: Sun, 8 Aug 2021 13:28:57 +0000 (+0900) Subject: Fix unsupported video error message handling (#16581) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=818e0b314fc81005dc9a73b53331f75ad52daa0d;p=mastodon.git Fix unsupported video error message handling (#16581) --- diff --git a/lib/paperclip/transcoder.rb b/lib/paperclip/transcoder.rb index e99704086..ec1305038 100644 --- a/lib/paperclip/transcoder.rb +++ b/lib/paperclip/transcoder.rb @@ -19,7 +19,7 @@ module Paperclip metadata = VideoMetadataExtractor.new(@file.path) unless metadata.valid? - log("Unsupported file #{@file.path}") + Paperclip.log("Unsupported file #{@file.path}") return File.open(@file.path) end