Skip to content

Commit f19ceca

Browse files
authored
fix: include var name into tracing error message (#779) (#780)
1 parent 4366386 commit f19ceca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/src/main/java/com/microsoft/playwright/impl/TracingImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private void startImpl(StartOptions options) {
9393
includeSources = options.sources != null;
9494
if (includeSources) {
9595
if (!context.connection.isCollectingStacks()) {
96-
throw new PlaywrightException("Source root directories must be provided to enable source collection");
96+
throw new PlaywrightException("Source root directory must be specified via PLAYWRIGHT_JAVA_SRC environment variable when source collection is enabled");
9797
}
9898
params.addProperty("sources", true);
9999
}

0 commit comments

Comments
 (0)