Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
openhoat committed Dec 13, 2015
1 parent 6c1e936 commit ef2719f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/hw-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ RootError.prototype.toString = function () {
};

that = {
RootError: RootError,
httpErrors: {
'BAD_FORMAT': {statusCode: 400, msg: 'bad request format'},
'AUTHORIZATION': {statusCode: 401, msg: 'authorization required'},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hw-error",
"version": "0.1.6",
"version": "0.1.7",
"description": "Better error management",
"main": "lib/hw-error.js",
"author": "Olivier Penhoat <openhoat@gmail.com> (http://headwood.net/)",
Expand Down

0 comments on commit ef2719f

Please sign in to comment.