This commit is contained in:
Aya Morisawa 2019-05-26 22:05:09 +09:00 committed by syuilo
parent c88576e3e6
commit 3b0daeac3c

View File

@ -50,7 +50,7 @@ export async function masterMain() {
// initialize app // initialize app
config = await init(); 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); bootLogger.error('The port is not configured. Please configure port.', null, true);
process.exit(1); process.exit(1);
} }