Update models more

This commit is contained in:
John Lyon-Smith
2018-03-22 10:18:34 -07:00
parent e15c38c0bc
commit 82fbd88dab
16 changed files with 7856 additions and 3925 deletions

View File

@@ -13,8 +13,8 @@ export class MS {
async connect(amqpUri) {
this.connection = await amqp.connect(amqpUri)
this.connection.on('error', () => {
this.log.error(`RabbitMQ has gone, shutting down service`)
this.connection.on('error', (err) => {
this.log.error(`${err}. Shutting down service.`)
process.exit(-1)
})