projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Never forward the client's user-agent through the media proxy
[akkoma]
/
lib
/
pleroma
/
upload
/
filter
/
mogrifun.ex
diff --git
a/lib/pleroma/upload/filter/mogrifun.ex
b/lib/pleroma/upload/filter/mogrifun.ex
index 9abdd2d516bf6986b80d70c96db2837230e6a53e..01126aaeb6c6908e2960ab766c4e7876860a3f4b 100644
(file)
--- a/
lib/pleroma/upload/filter/mogrifun.ex
+++ b/
lib/pleroma/upload/filter/mogrifun.ex
@@
-44,8
+44,8
@@
defmodule Pleroma.Upload.Filter.Mogrifun do
Filter.Mogrify.do_filter(file, [Enum.random(@filters)])
{:ok, :filtered}
rescue
-
_
e in ErlangError ->
- {:error, "
mogrify command not found
"}
+ e in ErlangError ->
+ {:error, "
#{__MODULE__}: #{inspect(e)}
"}
end
end