From ed52474b5172c0d581ab72e77c11380f9dd0b41c Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Mon, 26 Apr 2021 09:21:00 +0200
Subject: [PATCH] Disable sentry logging unknown activities

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 lib/federation/activity_pub/transmogrifier.ex | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/federation/activity_pub/transmogrifier.ex b/lib/federation/activity_pub/transmogrifier.ex
index 3399e9b9b..bf79f5ac2 100644
--- a/lib/federation/activity_pub/transmogrifier.ex
+++ b/lib/federation/activity_pub/transmogrifier.ex
@@ -774,10 +774,6 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
     Logger.info("Handing something with type #{object["type"]} not supported")
     Logger.debug(inspect(object))
 
-    Sentry.capture_message("Handing something with type #{object["type"]} not supported",
-      extra: %{object: object}
-    )
-
     {:error, :not_supported}
   end