|
@@ -437,6 +437,9 @@
|
|
|
if (fileName.length > 0 && serverUrl.length > 0)
|
|
|
[self downloadFileSuccessFailure:fileName fileID:metadata.fileID etag:etag date:date serverUrl:serverUrl selector:metadata.sessionSelector selectorPost:metadata.sessionSelectorPost errorCode:errorCode];
|
|
|
} else {
|
|
|
+
|
|
|
+ [[NCManageDatabase sharedInstance] addActivityClient:fileName fileID:@"" action:k_activityDebugActionUpload selector:@"" note:[NSString stringWithFormat:@"Serius error internal download : metadata not found %@", url] type:k_activityTypeFailure verbose:k_activityVerboseDefault activeUrl:_activeUrl];
|
|
|
+
|
|
|
NSLog(@"[LOG] Serius error internal download : metadata not found %@ ", url);
|
|
|
}
|
|
|
}
|
|
@@ -479,7 +482,10 @@
|
|
|
if (fileName.length > 0 && fileID.length > 0 && etag.length > 0 && serverUrl.length > 0)
|
|
|
[self uploadFileSuccessFailure:metadata fileName:fileName fileID:fileID etag:etag date:date serverUrl:serverUrl errorCode:errorCode];
|
|
|
} else {
|
|
|
- NSLog(@"[LOG] Serius error internal upload : metadata not found %@ ", url);
|
|
|
+
|
|
|
+ [[NCManageDatabase sharedInstance] addActivityClient:fileName fileID:@"" action:k_activityDebugActionUpload selector:@"" note:[NSString stringWithFormat:@"Serius error internal upload : metadata not found %@", url] type:k_activityTypeFailure verbose:k_activityVerboseDefault activeUrl:_activeUrl];
|
|
|
+
|
|
|
+ NSLog(@"[LOG] Serius error internal upload : metadata not found %@", url);
|
|
|
}
|
|
|
}
|
|
|
}
|