Skip to content

Commit 49c8a88

Browse files
committed
feat: when port is in use, just log warning and continue
1 parent ffff95a commit 49c8a88

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/plugin/src/hooks/network.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ async function startWebapp() {
2828
// Check if port 3030 is available (fail fast)
2929
const portAvailable = await isPortAvailable();
3030
if (!portAvailable) {
31-
throw new Error(
32-
"Port 3030 is already in use. Please free the port and try again.",
31+
console.warn(
32+
"[openscan] Warning: Port 3030 is already in use. Explorer not started.",
3333
);
34+
return
3435
}
3536

3637
// Create deployment tracker and start server

0 commit comments

Comments
 (0)