Browse Source

Fix unsupported video error message handling (#16581)

pull/1163/head
Takeshi Umeda 5 years ago committed by GitHub
parent
commit
818e0b314f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/paperclip/transcoder.rb

2
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

Loading…
Cancel
Save