fix: lint

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2020-04-12 16:36:20 +08:00
parent 65b040545c
commit 99afa20e34
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -273,7 +273,7 @@ models.sequelize.sync().then(function () {
throw new Error('server still not ready after db synced')
}
}).catch(err => {
logger.error('Can\'t sync database');
logger.error('Can\'t sync database')
logger.error(err.stack)
logger.error('Process will exit now.')
process.exit(1)