mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-05-02 15:34:26 +02:00
fix: catch Throwable instead of Exception
This commit is contained in:
parent
24a5d4b8be
commit
9a8beed412
@ -199,7 +199,7 @@ class PatcherWorker(
|
|||||||
log("Successfully patched!", SUCCESS)
|
log("Successfully patched!", SUCCESS)
|
||||||
Result.success(Data.Builder().putString(OUTPUT, finalFile.absolutePath).build())
|
Result.success(Data.Builder().putString(OUTPUT, finalFile.absolutePath).build())
|
||||||
|
|
||||||
} catch (e: Exception) {
|
} catch (e: Throwable) {
|
||||||
log("Error while patching: ${e::class.simpleName}: ${e.message}", ERROR)
|
log("Error while patching: ${e::class.simpleName}: ${e.message}", ERROR)
|
||||||
Log.e(tag, e.stackTraceToString())
|
Log.e(tag, e.stackTraceToString())
|
||||||
Sentry.captureException(e)
|
Sentry.captureException(e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user