mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 00:51:37 +01:00
Fix audio uploads without embedded image (#14203)
This commit is contained in:
parent
162adf61f2
commit
534da9ba23
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ module Paperclip
|
|||
|
||||
begin
|
||||
cli.run
|
||||
rescue Cocaine::ExitStatusError
|
||||
rescue Cocaine::ExitStatusError, ::Av::CommandError
|
||||
dst.close(true)
|
||||
return nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue