diff --git a/lib/response/index.js b/lib/response/index.js index 59e8f81d2..e382a1bae 100755 --- a/lib/response/index.js +++ b/lib/response/index.js @@ -71,7 +71,7 @@ exports._generate = function (result, onSend) { response = new internals.Buffer(result); } else if (result.isHapiResponse || - result instanceof Boom) { + result.isBoom) { response = result; }