mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: more useful error message
This commit is contained in:
parent
fb5b82da4e
commit
4b2e3230ec
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ class Patcher(private val options: PatcherOptions) {
|
|||
|
||||
if (result.isSuccess()) return@forEach
|
||||
|
||||
val errorMessage = result.error()!!.message
|
||||
val errorMessage = result.error()!!.cause
|
||||
return PatchResultError("'$patchName' depends on '${patchDependency.patchName}' but the following error was raised: $errorMessage")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue