Add context to error when removing an upload file following actor suspension
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f3ac1f7ce1
commit
c68c0c2120
|
@ -279,7 +279,12 @@ defmodule Mobilizon.Service.ActorSuspension do
|
|||
{:ok, actor}
|
||||
|
||||
{:error, error} ->
|
||||
Logger.error("Error while removing an upload file")
|
||||
Logger.error("Error while removing an upload file",
|
||||
error: inspect(error),
|
||||
actor: Actor.preferred_username_and_domain(actor),
|
||||
file_url: url
|
||||
)
|
||||
|
||||
Logger.debug(inspect(error))
|
||||
|
||||
{:ok, actor}
|
||||
|
|
Loading…
Reference in a new issue