Все картинки в отчёте
This commit is contained in:
@@ -11,6 +11,7 @@ import com.github.nullptroma.wallenc.domain.interfaces.IStorageSyncEngine
|
||||
import com.github.nullptroma.wallenc.domain.interfaces.IStorageSyncGroupStore
|
||||
import com.github.nullptroma.wallenc.domain.interfaces.IVaultsManager
|
||||
import com.github.nullptroma.wallenc.domain.tasks.TaskProgressLabel
|
||||
import kotlinx.coroutines.CancellationException
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.async
|
||||
import kotlinx.coroutines.awaitAll
|
||||
@@ -316,13 +317,15 @@ class StorageSyncEngine @Inject constructor(
|
||||
}
|
||||
}
|
||||
}
|
||||
result.exceptionOrNull()?.let { error ->
|
||||
System.err.println(
|
||||
"StorageSyncEngine: apply ${entry.operation} ${entry.path} " +
|
||||
"target=${target.uuid}: ${error.message}",
|
||||
)
|
||||
val error = result.exceptionOrNull() ?: return result.isSuccess
|
||||
if (error is CancellationException) {
|
||||
throw error
|
||||
}
|
||||
return result.isSuccess
|
||||
System.err.println(
|
||||
"StorageSyncEngine: apply ${entry.operation} ${entry.path} " +
|
||||
"target=${target.uuid}: ${error.message}",
|
||||
)
|
||||
return false
|
||||
}
|
||||
|
||||
private fun compareEntries(a: StorageSyncJournalEntry, b: StorageSyncJournalEntry): Int {
|
||||
|
||||
Reference in New Issue
Block a user