From 9d63d5e29c5708abe4b85e401863d27b4edfeb13 Mon Sep 17 00:00:00 2001 From: Marcos Marsari Date: Fri, 26 Aug 2016 13:25:29 -0300 Subject: [PATCH] Bump hapijs/boom version to 4.0.0 from 3.2.2. closes #3320 --- lib/request.js | 2 +- npm-shrinkwrap.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/request.js b/lib/request.js index 722398202..117169a16 100755 --- a/lib/request.js +++ b/lib/request.js @@ -353,7 +353,7 @@ internals.Request.prototype._lifecycle = function (err) { const timeoutReply = () => { this._log(['request', 'server', 'timeout', 'error'], { timeout: serverTimeout, elapsed: this._bench.elapsed() }); - this._reply(Boom.serverTimeout()); + this._reply(Boom.serverUnavailable()); }; if (serverTimeout <= 0) { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 1302fb1da..10da94e51 100755 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -9,7 +9,7 @@ "version": "2.0.2" }, "boom": { - "version": "3.2.2" + "version": "4.0.0" }, "call": { "version": "3.0.3" diff --git a/package.json b/package.json index 9ad41b68f..0b5fd299c 100755 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "accept": "2.x.x", "ammo": "2.x.x", - "boom": "3.x.x", + "boom": "4.x.x", "call": "3.x.x", "catbox": "7.x.x", "catbox-memory": "2.x.x",