diff --git a/Sources/Core/Tracker/WebViewMessageHandlerV2.swift b/Sources/Core/Tracker/WebViewMessageHandlerV2.swift index dc42d5e73..77088c74e 100644 --- a/Sources/Core/Tracker/WebViewMessageHandlerV2.swift +++ b/Sources/Core/Tracker/WebViewMessageHandlerV2.swift @@ -73,6 +73,8 @@ class WebViewMessageHandlerV2: NSObject, WKScriptMessageHandler { for namespace in trackers { if let tracker = Snowplow.tracker(namespace: namespace) { _ = tracker.track(event) + } else { + logError(message: "WebView: Tracker with namespace \(namespace) not found.") } } } else {