Explorar o código

20170124
Fix
Sync upload, if user signed on another device, sync will stop with a error message.

Ray Zhang %!s(int64=9) %!d(string=hai) anos
pai
achega
b6e4d4dc2a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      RedAnt ERP Mobile/iSales-NPD/AppDelegate.m

+ 2 - 1
RedAnt ERP Mobile/iSales-NPD/AppDelegate.m

@@ -1289,7 +1289,8 @@ void UncaughtExceptionHandler(NSException *exception) {
                 }
                 else
                 {
-                    [self add_downloadlog:[json valueForKey:@"err_msg"]];
+                    [self add_downloadlog:[json valueForKey:@"msg"]];
+                    [self add_downloadlog:@"Sync canceled."];
                     [self.settingUI onSyncFinish];
                 }