diff --git a/lib/plausible/ingestion/event.ex b/lib/plausible/ingestion/event.ex index a2c5747eb..c6d698f90 100644 --- a/lib/plausible/ingestion/event.ex +++ b/lib/plausible/ingestion/event.ex @@ -372,6 +372,9 @@ 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}