about summary refs log tree commit diff
path: root/lib/paperclip
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2021-08-08 22:28:57 +0900
committerGitHub <noreply@github.com>2021-08-08 15:28:57 +0200
commit818e0b314fc81005dc9a73b53331f75ad52daa0d (patch)
tree6efd01f2753de4dbdadf3f9fe383397986208b6b /lib/paperclip
parentfe29f9c621f2be1b98b449c0b6f7a090adc3762d (diff)
Fix unsupported video error message handling (#16581)
Diffstat (limited to 'lib/paperclip')
-rw-r--r--lib/paperclip/transcoder.rb2
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