vona-core 5.0.105 → 5.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2332,9 +2332,11 @@ class AppMeta extends BeanSimple {
|
|
|
2332
2332
|
// logger dispose
|
|
2333
2333
|
await this.app.meta.logger.dispose();
|
|
2334
2334
|
// log
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2335
|
+
if (this.app.meta.env.LOGGER_DUMMY !== 'true') {
|
|
2336
|
+
const message = `App shutdown gracefully: ${process.pid}`;
|
|
2337
|
+
// eslint-disable-next-line
|
|
2338
|
+
console.log(chalk.cyan(message));
|
|
2339
|
+
}
|
|
2338
2340
|
// need not call process.exit
|
|
2339
2341
|
}
|
|
2340
2342
|
}
|