From 1709b48b09df9964550bbdacf8a28db1534d0ee4 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 15 Apr 2024 16:23:59 +0300 Subject: [PATCH] Print out the current process identifier on NSE runs --- NSE/Sources/NotificationServiceExtension.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NSE/Sources/NotificationServiceExtension.swift b/NSE/Sources/NotificationServiceExtension.swift index 3a1be1d8b..ea3af936b 100644 --- a/NSE/Sources/NotificationServiceExtension.swift +++ b/NSE/Sources/NotificationServiceExtension.swift @@ -160,7 +160,7 @@ class NotificationServiceExtension: UNNotificationServiceExtension { } private var tag: String { - "[NSE][\(Unmanaged.passUnretained(self).toOpaque())][\(Unmanaged.passUnretained(Thread.current).toOpaque())]" + "[NSE][\(Unmanaged.passUnretained(self).toOpaque())][\(Unmanaged.passUnretained(Thread.current).toOpaque())][\(ProcessInfo.processInfo.processIdentifier)]" } private func cleanUp() {