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