mirror of
https://github.com/revanced/revanced-manager-compose-old.git
synced 2025-04-29 22:14:28 +02:00
fix: print patch failure reason
This commit is contained in:
parent
8adea8d0f1
commit
f68a9b31a9
@ -227,7 +227,8 @@ class PatchingScreenViewModel(
|
||||
status = Status.Success
|
||||
} catch (e: Exception) {
|
||||
status = Status.Failure
|
||||
Log.e(tag, "Error while patching: ${e.message ?: e::class.simpleName}")
|
||||
log(PatchLog.Error("Error while patching: ${e::class.simpleName}: ${e.message}"))
|
||||
Log.e(tag, e.stackTraceToString())
|
||||
Sentry.captureException(e)
|
||||
}
|
||||
Log.d(tag, "Deleting workdir")
|
||||
|
Loading…
x
Reference in New Issue
Block a user