hapi-boombox
Advanced tools
Comparing version 1.1.2 to 1.1.3
# Changelog | ||
## 1.1.3 | ||
* Log original and proccesed error | ||
* Log the full proccessed error and not only the message | ||
## 1.1.2 | ||
@@ -4,0 +8,0 @@ * Added more data to the loging |
@@ -74,3 +74,4 @@ var Boom = require('boom'); | ||
var log = { | ||
error: explosion.output || explosion, | ||
originalError: error, | ||
boomboxError: explosion, | ||
data: { | ||
@@ -77,0 +78,0 @@ path: this.request.url.path, |
{ | ||
"name": "hapi-boombox", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Boom error wrapper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
[![Build Status](https://travis-ci.org/AdriVanHoudt/Hapi-Boombox.svg)](https://travis-ci.org/AdriVanHoudt/Hapi-Boombox) | ||
# Hapi-BoomBox | ||
# Hapi-Boombox | ||
>Hapi plugin Boom wrapper | ||
@@ -26,3 +26,4 @@ | ||
* `error`: the restult of Boombox, | ||
* `originalError`: the input into Boombox | ||
* `boomboxError`: the restult of Boombox after proccesing the error, | ||
* `data`: additional info about the request | ||
@@ -29,0 +30,0 @@ * `path`, `query`, `method`, `payload`, `headers`, `request.info`, `credentials` |
17661
332
41