Improve AP error handling
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -101,6 +101,10 @@ defmodule Mobilizon.Federation.ActivityPub do
|
||||
{:existing, entity} ->
|
||||
handle_existing_entity(url, entity, options)
|
||||
|
||||
{:error, e} ->
|
||||
Logger.warn("Something failed while fetching url #{inspect(e)}")
|
||||
{:error, e}
|
||||
|
||||
e ->
|
||||
Logger.warn("Something failed while fetching url #{inspect(e)}")
|
||||
{:error, e}
|
||||
|
||||
Reference in New Issue
Block a user