We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef82c3d commit f3f07cdCopy full SHA for f3f07cd
apps/server/src/www.ts
@@ -160,11 +160,10 @@ function startHttpServer(app: Express) {
160
// should simply focus on the existing window or open a new one, without displaying an error message.
161
if ("code" in error && error.code === "EADDRINUSE" && (process.argv.includes("--new-window") || !app.requestSingleInstanceLock())) {
162
console.error(message);
163
- process.exit(1);
164
} else {
165
dialog.showErrorBox("Error while initializing the server", message);
166
167
}
+ process.exit(1);
168
});
169
170
0 commit comments