mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-05-02 07:24:27 +02:00
fix: printing stacktrace
This commit is contained in:
parent
1f76704f95
commit
2d5d59d53d
@ -190,7 +190,7 @@ class PatchingScreenViewModel(
|
|||||||
patcher.executePatches().forEach { (patch, result) ->
|
patcher.executePatches().forEach { (patch, result) ->
|
||||||
if (result.isFailure) {
|
if (result.isFailure) {
|
||||||
log(PatchLog.Info("Failed to apply $patch: " + "${result.exceptionOrNull()!!.message ?: result.exceptionOrNull()!!::class.simpleName}"))
|
log(PatchLog.Info("Failed to apply $patch: " + "${result.exceptionOrNull()!!.message ?: result.exceptionOrNull()!!::class.simpleName}"))
|
||||||
result.exceptionOrNull()!!.printStackTrace()
|
Log.e(tag, result.exceptionOrNull()!!.stackTraceToString())
|
||||||
return@forEach
|
return@forEach
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user