mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
feat: simplify logging (#305)
Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
parent
97d4da568b
commit
b00d2d16d4
1 changed files with 2 additions and 2 deletions
|
@ -180,7 +180,7 @@ class MainActivity : FlutterActivity() {
|
|||
patcher.addPatches(patches)
|
||||
patcher.executePatches().forEach { (patch, res) ->
|
||||
if (res.isSuccess) {
|
||||
val msg = "[success] $patch"
|
||||
val msg = "Applied $patch"
|
||||
handler.post {
|
||||
installerChannel.invokeMethod(
|
||||
"update",
|
||||
|
@ -193,7 +193,7 @@ class MainActivity : FlutterActivity() {
|
|||
}
|
||||
return@forEach
|
||||
}
|
||||
val msg = "[error] $patch:" + res.exceptionOrNull()!!.printStackTrace()
|
||||
val msg = "$patch failed.\nError:\n" + res.exceptionOrNull()!!.printStackTrace()
|
||||
handler.post {
|
||||
installerChannel.invokeMethod(
|
||||
"update",
|
||||
|
|
Loading…
Reference in a new issue