File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ actor Manager {
162
162
}
163
163
164
164
func startVPN( ) async throws ( ManagerError) {
165
+ // Clear progress message
165
166
pushProgress ( msg: nil )
166
167
logger. info ( " sending start rpc " )
167
168
guard let tunFd = ptp. tunnelFileDescriptor else {
@@ -241,10 +242,10 @@ actor Manager {
241
242
242
243
func pushProgress( msg: String ? ) {
243
244
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 " )
245
246
return
246
247
}
247
- logger. info ( " sending progress message to app: \( msg ?? " nil " ) " )
248
+ logger. debug ( " sending progress message to app: \( msg ?? " nil " ) " )
248
249
conn. onProgress ( msg: msg)
249
250
}
250
251
You can’t perform that action at this time.
0 commit comments