Fix unsupported video error message handling (#16581)

lolsob-rspec
Takeshi Umeda 2021-08-08 22:28:57 +09:00 committed by GitHub
parent 0e5272ce76
commit ba1bc51afd
1 changed files with 1 additions and 1 deletions

View File

@ -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