summaryrefslogtreecommitdiff
path: root/src/boot/master.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot/master.ts')
-rw-r--r--src/boot/master.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/master.ts b/src/boot/master.ts
index 503f09c1f2..6c23a528fa 100644
--- a/src/boot/master.ts
+++ b/src/boot/master.ts
@@ -50,7 +50,7 @@ export async function masterMain() {
// initialize app
config = await init();
- if (config.port == null) {
+ if (config.port == null || Number.isNaN(config.port)) {
bootLogger.error('The port is not configured. Please configure port.', null, true);
process.exit(1);
}