Handle AP fetch issues properly

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-04-09 14:01:40 +02:00
parent 4079af6f72
commit fb614cf877
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -39,6 +39,9 @@ defmodule Mobilizon.Federation.ActivityPub.Fetcher do
{:ok, %Tesla.Env{} = res} ->
{:error, res}
{:error, err} ->
{:error, err}
end
end