Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Stop capturing UA errors (#5108)

hq1a0129a50fd9c
diff --git a/lib/plausible/ingestion/event.ex b/lib/plausible/ingestion/event.ex
index 592507b0fa..47faa59d88 100644
--- a/lib/plausible/ingestion/event.ex
+++ b/lib/plausible/ingestion/event.ex
@@ -464,16 +464,6 @@ defmodule Plausible.Ingestion.Event do
%Device{type: t} when t in @desktop_types ->
"Desktop"
- %Device{type: :unknown} ->
- nil
-
- %Device{type: type} ->
- Sentry.capture_message("Could not determine device type from UAInspector",
- extra: %{type: type}
- )
-
- nil
-
_ ->
nil
end