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 59c3b8d commit e3cedc8Copy full SHA for e3cedc8
packages/cli/src/app/templates/index.tpl.ts
@@ -8,6 +8,10 @@ import { logger } from './logger'
8
const port = app.get('port')
9
const host = app.get('host')
10
11
+process.on('unhandledRejection', (reason, p) =>
12
+ logger.error('Unhandled Rejection at: Promise ', p, reason)
13
+)
14
+
15
app.listen(port).then(() => {
16
logger.info(\`Feathers app listening on http://\${host}:\${port}\`)
17
})
0 commit comments