mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-25 09:22:22 +00:00
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
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue