Browse Source

Fix audio uploads without embedded image (#14203)

main
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
534da9ba23
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/paperclip/image_extractor.rb

2
lib/paperclip/image_extractor.rb

@ -43,7 +43,7 @@ module Paperclip
begin
cli.run
rescue Cocaine::ExitStatusError
rescue Cocaine::ExitStatusError, ::Av::CommandError
dst.close(true)
return nil
end

Loading…
Cancel
Save