From fb614cf8777e4c52c2a5d307decbf98cdf57553b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 9 Apr 2021 14:01:40 +0200 Subject: [PATCH] Handle AP fetch issues properly Signed-off-by: Thomas Citharel --- lib/federation/activity_pub/fetcher.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/federation/activity_pub/fetcher.ex b/lib/federation/activity_pub/fetcher.ex index 58fcf793..65971b6c 100644 --- a/lib/federation/activity_pub/fetcher.ex +++ b/lib/federation/activity_pub/fetcher.ex @@ -39,6 +39,9 @@ defmodule Mobilizon.Federation.ActivityPub.Fetcher do {:ok, %Tesla.Env{} = res} -> {:error, res} + + {:error, err} -> + {:error, err} end end