Fix audio uploads without embedded image (#14203)
parent
162adf61f2
commit
534da9ba23
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue