Skip to content

Commit a9f659e

Browse files
authored
Merge pull request #686 from witheve/update/message
Update error message
2 parents 25c79f7 + 5a122cc commit a9f659e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export function run() {
307307
// If the port is already in use, display an error message
308308
process.on('uncaughtException', function handleAddressInUse(err) {
309309
if(err.errno === 'EADDRINUSE') {
310-
console.log(`ERROR: Eve couldn't start because port ${config.port} is already in use.\n\nYou can select a different port for Eve using the "port" argument.\nFor example:\n\n> npm start -- --port 1234`);
310+
console.log(`ERROR: Eve couldn't start because port ${config.port} is already in use.\n\nYou can select a different port for Eve using the "port" argument.\nFor example:\n\n> eve --port 1234`);
311311
} else {
312312
throw err;
313313
}

0 commit comments

Comments
 (0)