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}
|
{:ok, actor}
|
||||||
|
|
||||||
{:error, error} ->
|
{: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))
|
Logger.debug(inspect(error))
|
||||||
|
|
||||||
{:ok, actor}
|
{:ok, actor}
|
||||||
|
Loading…
Reference in New Issue
Block a user