We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Patch#toString
1 parent 9fc42e1 commit c9a8260Copy full SHA for c9a8260
src/main/kotlin/app/revanced/patcher/Patcher.kt
@@ -140,7 +140,7 @@ class Patcher(
140
patch: Patch<*>,
141
executedPatches: LinkedHashMap<Patch<*>, PatchResult>,
142
): PatchResult {
143
- val patchName = patch.name ?: patch.toString()
+ val patchName = patch.toString()
144
145
executedPatches[patch]?.let { patchResult ->
146
patchResult.exception ?: return patchResult
@@ -237,7 +237,7 @@ class Patcher(
237
PatchResult(
238
patch,
239
PatchException(
240
- "'${patch.name}' raised an exception while being closed: ${it.stackTraceToString()}",
+ "'$patch' raised an exception while being closed: ${it.stackTraceToString()}",
241
result.exception,
242
),
243
0 commit comments