Ignore unkown device type (#3266)

pull/3267/head r2023.08.15-169
Uku Taht 3 years ago committed by GitHub
parent 9e9555f719
commit a6bf951852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}

Loading…
Cancel
Save