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
/
mogrify.ex
diff --git
a/lib/pleroma/upload/filter/mogrify.ex
b/lib/pleroma/upload/filter/mogrify.ex
index 4bca4f5cac4149703c97604c92b43cebfb146108..f27aefc2252d283451006cc987d45cb541d86b92 100644
(file)
--- a/
lib/pleroma/upload/filter/mogrify.ex
+++ b/
lib/pleroma/upload/filter/mogrify.ex
@@
-14,8
+14,8
@@
defmodule Pleroma.Upload.Filter.Mogrify do
do_filter(file, Pleroma.Config.get!([__MODULE__, :args]))
{:ok, :filtered}
rescue
-
_
e in ErlangError ->
- {:error, "
mogrify command not found
"}
+ e in ErlangError ->
+ {:error, "
#{__MODULE__}: #{inspect(e)}
"}
end
end