Skip to content

Commit e8e3612

Browse files
committed
chore: log userdev cache misses with path for debugging
1 parent 3a4e5d7 commit e8e3612

File tree

1 file changed

+3
-0
lines changed
  • paperweight-userdev/src/main/kotlin/io/papermc/paperweight/userdev/internal/action

1 file changed

+3
-0
lines changed

paperweight-userdev/src/main/kotlin/io/papermc/paperweight/userdev/internal/action/WorkGraph.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ class WorkGraph(
168168
val took = System.nanoTime() - start
169169
logger.info("Up-to-date check for ${node.registration.name} took ${formatNs(took)} (out-of-date)")
170170
}
171+
} else {
172+
val took = System.nanoTime() - start
173+
logger.info("Up-to-date check for ${node.registration.name} took ${formatNs(took)} (no metadata at ${metadataFile.invariantSeparatorsPathString})")
171174
}
172175

173176
if (!earlyUpToDateCheck) {

0 commit comments

Comments
 (0)