Skip to content

Commit 9a3c402

Browse files
committed
log level
1 parent 942e899 commit 9a3c402

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Coder-Desktop/VPN/Manager.swift

+3-2
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)