From 1aa24e2871ad35d799bf198f0358352ffb3d0e99 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 3 Oct 2022 19:04:46 +0200 Subject: [PATCH] fix: print stack trace of patch exceptions (#314) --- .../main/kotlin/app/revanced/manager/flutter/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt b/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt index 8d46d448..b3477146 100644 --- a/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt +++ b/android/app/src/main/kotlin/app/revanced/manager/flutter/MainActivity.kt @@ -193,7 +193,7 @@ class MainActivity : FlutterActivity() { } return@forEach } - val msg = "[error] $patch:" + res.exceptionOrNull()!! + val msg = "[error] $patch:" + res.exceptionOrNull()!!.printStackTrace() handler.post { installerChannel.invokeMethod( "update",