mirror of
https://github.com/microsoft/playwright-java.git
synced 2025-12-28 18:30:43 +00:00
fix: include var name into tracing error message (#779)
This commit is contained in:
parent
f4c69faad3
commit
897d441c02
@ -93,7 +93,7 @@ class TracingImpl implements Tracing {
|
||||
includeSources = options.sources != null;
|
||||
if (includeSources) {
|
||||
if (!context.connection.isCollectingStacks()) {
|
||||
throw new PlaywrightException("Source root directories must be provided to enable source collection");
|
||||
throw new PlaywrightException("Source root directory must be specified via PLAYWRIGHT_JAVA_SRC environment variable when source collection is enabled");
|
||||
}
|
||||
params.addProperty("sources", true);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user