Skip to content

Commit 9b13d09

Browse files
committed
Update: adapt comment docs for checkConnectionAndUpload
1 parent 9432d71 commit 9b13d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPress/src/main/java/org/wordpress/android/ui/uploads/UploadStarter.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class UploadStarter @Inject constructor(
109109
* If there is an internet connection, uploads all posts with local changes belonging to [sites].
110110
*
111111
* This coroutine will suspend until all the [upload] operations have completed. If one of them fails, all query
112-
* and queuing attempts ([upload]) will be canceled. The exception will be thrown by this method.
112+
* and queuing attempts ([upload]) will continue. The last exception will be thrown by this method.
113113
*/
114114
private suspend fun checkConnectionAndUpload(sites: List<SiteModel>) = coroutineScope {
115115
if (!networkUtilsWrapper.isNetworkAvailable()) return@coroutineScope

0 commit comments

Comments
 (0)