Skip to content

Commit 9a93eb7

Browse files
committed
log level
1 parent 8b7ec78 commit 9a93eb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Coder-Desktop/VPN/Manager.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ actor Manager {
162162
}
163163

164164
func startVPN() async throws(ManagerError) {
165+
// Clear progress message
165166
pushProgress(msg: nil)
166167
logger.info("sending start rpc")
167168
guard let tunFd = ptp.tunnelFileDescriptor else {
@@ -241,10 +242,10 @@ actor Manager {
241242

242243
func pushProgress(msg: String?) {
243244
guard let conn = globalXPCListenerDelegate.conn else {
244-
logger.error("couldn't send progress message to app: no connection")
245+
logger.warning("couldn't send progress message to app: no connection")
245246
return
246247
}
247-
logger.info("sending progress message to app: \(msg ?? "nil")")
248+
logger.debug("sending progress message to app: \(msg ?? "nil")")
248249
conn.onProgress(msg: msg)
249250
}
250251

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy