소스 검색

re-add logger message when reachable

B. Petersen 5 년 전
부모
커밋
31a131513c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      deltachat-ios/AppDelegate.swift

+ 2 - 0
deltachat-ios/AppDelegate.swift

@@ -51,6 +51,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         setStockTranslations()
 
         reachability.whenReachable = { reachability in
+            logger.info("network: reachable", reachability.connection.description)
+
             // call dc_maybe_network() from a worker thread.
             // normally, dc_maybe_network() can be called uncoditionally,
             // however, in fact, it may halt things for some seconds.