Add url to error log

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-04-29 08:54:43 +02:00
parent 4a1e9ce713
commit 2692d32c5e
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -102,11 +102,11 @@ defmodule Mobilizon.Federation.ActivityPub do
handle_existing_entity(url, entity, options) handle_existing_entity(url, entity, options)
{:error, e} -> {:error, e} ->
Logger.warn("Something failed while fetching url #{inspect(e)}") Logger.warn("Something failed while fetching url #{url} #{inspect(e)}")
{:error, e} {:error, e}
e -> e ->
Logger.warn("Something failed while fetching url #{inspect(e)}") Logger.warn("Something failed while fetching url #{url} #{inspect(e)}")
{:error, e} {:error, e}
end end
end end