mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-29 14:19:03 +01:00
Fix unsupported video error message handling (#16581)
This commit is contained in:
parent
fe29f9c621
commit
818e0b314f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Paperclip
|
||||||
metadata = VideoMetadataExtractor.new(@file.path)
|
metadata = VideoMetadataExtractor.new(@file.path)
|
||||||
|
|
||||||
unless metadata.valid?
|
unless metadata.valid?
|
||||||
log("Unsupported file #{@file.path}")
|
Paperclip.log("Unsupported file #{@file.path}")
|
||||||
return File.open(@file.path)
|
return File.open(@file.path)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue