Fix audio uploads without embedded image (#14203)

This commit is contained in:
Eugen Rochko 2020-07-03 03:05:32 +02:00 committed by GitHub
parent 162adf61f2
commit 534da9ba23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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