mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
fix: failed patch logging
This commit is contained in:
parent
160e42145c
commit
b514c709fb
@ -188,7 +188,7 @@ class PatchingScreenViewModel(
|
||||
log(PatchLog.Info("Applying ${patches.size} $patchesString"))
|
||||
patcher.executePatches().forEach { (patch, result) ->
|
||||
if (result.isFailure) {
|
||||
log(PatchLog.Info("Failed to apply $patch" + result.exceptionOrNull()!!.cause))
|
||||
log(PatchLog.Info("Failed to apply $patch: " + "${result.exceptionOrNull()!!.message ?: result.exceptionOrNull()!!::class.simpleName}"))
|
||||
return@forEach
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user