Skip to content

Commit da0f883

Browse files
committed
fixes
1 parent 6146724 commit da0f883

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ function runAppAndApi() {
8080
})
8181
}
8282
} else if (hasServerArguments) {
83-
throw new Error('Kindly enable the server following https://github.com/microsoft/playwright/issues/13288 before passing server arguments')
83+
console.error('Kindly enable the API in "api-config.ts" before passing API arguments.');
84+
app.exit(1);
8485
}
8586
runApp(onQuit, () => {
8687
if (API) {

0 commit comments

Comments
 (0)