Skip to content

Commit 53996d7

Browse files
improve error message
1 parent 7a32683 commit 53996d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

patches/src/main/kotlin/app/revanced/patches/shared/layout/branding/BaseCustomBrandingPatch.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ internal fun baseCustomBrandingPatch(
155155
}
156156

157157
if (!replacedResources) {
158-
throw PatchException("Could not find any replacement images in patch option path: $iconPathTrimmed")
158+
throw PatchException("Could not find any replacement images in " +
159+
"patch option path: ${iconPathFile.absolutePath}")
159160
}
160161
}
161162

0 commit comments

Comments
 (0)