fix: more useful error message

This commit is contained in:
oSumAtrIX 2022-07-03 15:37:48 +02:00
parent fb5b82da4e
commit 4b2e3230ec
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -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")
}