Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/utxos-store
Browse files Browse the repository at this point in the history
  • Loading branch information
crchemist-ip committed Sep 20, 2019
2 parents ef062fc + bbac3ed commit 5896b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -8,7 +8,9 @@
"build": "babel src -d dist",
"eslint": "eslint --ignore-path .gitignore src",
"dev": "rimraf ./dist && yarn run build && export NODE_ENV=${NODE_ENV:-develop} && nodemon ./src/index.js --max_old_space_size=4096 --inspect --exec babel-node | bunyan",
"prod": "rimraf ./dist && yarn run build && export NODE_ENV=${NODE_ENV:-develop} && babel-node ./src/index.js --max_old_space_size=4096 --inspect | bunyan",
"start": "yarn run dev",
"start:prod": "yarn run prod",
"test": "jest",
"build-docker": "./scripts/docker/build-docker.sh"
},
Expand Down
2 changes: 2 additions & 0 deletions src/server.js
Expand Up @@ -50,8 +50,10 @@ const startServer = async () => {
const scheduler = container.get<Scheduler>(SERVICE_IDENTIFIER.SCHEDULER)
scheduler.startAsync().then(res => {
logger.error(`Scheduler.startAsync exited successfully. This is unexpected to happen by itself! (result=${res})`)
process.exit(1)
}, err => {
logger.error('Scheduler.startAsync exited with an error:', err)
process.exit(1)
})

app.use(restify.plugins.bodyParser())
Expand Down

0 comments on commit 5896b5a

Please sign in to comment.