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
1 changed files with 2 additions and 2 deletions

View File

@ -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