diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2021-08-08 22:28:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-08 15:28:57 +0200 |
commit | 818e0b314fc81005dc9a73b53331f75ad52daa0d (patch) | |
tree | 6efd01f2753de4dbdadf3f9fe383397986208b6b /lib | |
parent | fe29f9c621f2be1b98b449c0b6f7a090adc3762d (diff) |
Fix unsupported video error message handling (#16581)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/paperclip/transcoder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |