fix: use correct prefix in log message

This commit is contained in:
oSumAtrIX 2022-12-15 22:00:08 +01:00
parent 1620305b4a
commit 1a67cd81da
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List<Class<out Patch<Context>>>) {
return@patchLoop return@patchLoop
} }
if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.") if (compatiblePackages == null) logger.trace("$patchName: No constraint on packages.")
else { else {
if (!compatiblePackages.any { it.name == packageName }) { if (!compatiblePackages.any { it.name == packageName }) {
logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${ logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${