mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 11:44:03 +03:00
Ignore unkown device type (#3266)
This commit is contained in:
parent
9e9555f719
commit
a6bf951852
@ -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…
Reference in New Issue
Block a user