Skip to content

Commit

Permalink
Merge branch 'release/1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
davesag committed Feb 8, 2019
2 parents c168917 + 87f90d3 commit 77cf5e0
Show file tree
Hide file tree
Showing 5 changed files with 913 additions and 881 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10
FROM node:latest
MAINTAINER [email protected]

WORKDIR /amqp-event-tester
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ You may add environment variables to your local `.env` file

### Prerequisites

* [NodeJS](htps://nodejs.org), version 11+ (I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.)
* [NodeJS](htps://nodejs.org), version 10.15.1 (LTS)+ (I use [`nvm`](https://github.com/creationix/nvm) to manage Node versions — `brew install nvm`.)
* [Docker](https://www.docker.com) (if on a Mac then use [Docker for Mac](https://docs.docker.com/docker-for-mac/), not the homebrew version)

### Initialisation
Expand Down
8 changes: 1 addition & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ const Server = require('src/server')
const logger = require('src/utils/logger')

process.on('unhandledRejection', (reason, p) => {
if (reason.code && reason.code === 'ECONNREFUSED') {
logger.debug(
'Known issue in the pg library wherin it fails to catch ECONNREFUSED'
)
} else {
logger.error('Unhandled rejection in promise', p, 'caused by', reason)
}
logger.error('Unhandled rejection in promise', p, 'caused by', reason)
})

Server.start()
Loading

0 comments on commit 77cf5e0

Please sign in to comment.