Fix audio uploads without embedded image (#14203)

lolsob-rspec
Eugen Rochko 2020-07-03 03:05:32 +02:00 committed by GitHub
parent 6163518115
commit ae28f94a7a
1 changed files with 1 additions and 1 deletions

View File

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