Handle AP fetch issues properly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4079af6f72
commit
fb614cf877
@ -39,6 +39,9 @@ defmodule Mobilizon.Federation.ActivityPub.Fetcher do
|
|||||||
|
|
||||||
{:ok, %Tesla.Env{} = res} ->
|
{:ok, %Tesla.Env{} = res} ->
|
||||||
{:error, res}
|
{:error, res}
|
||||||
|
|
||||||
|
{:error, err} ->
|
||||||
|
{:error, err}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user