Add url to error log
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4a1e9ce713
commit
2692d32c5e
@ -102,11 +102,11 @@ defmodule Mobilizon.Federation.ActivityPub do
|
||||
handle_existing_entity(url, entity, options)
|
||||
|
||||
{:error, e} ->
|
||||
Logger.warn("Something failed while fetching url #{inspect(e)}")
|
||||
Logger.warn("Something failed while fetching url #{url} #{inspect(e)}")
|
||||
{:error, e}
|
||||
|
||||
e ->
|
||||
Logger.warn("Something failed while fetching url #{inspect(e)}")
|
||||
Logger.warn("Something failed while fetching url #{url} #{inspect(e)}")
|
||||
{:error, e}
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user