Skip to content

Commit

Permalink
Fix for message not being set in ResponseErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjb committed Aug 30, 2018
1 parent cb4d06d commit c940c0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions module/errors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

export class ResponseError extends Error {

constructor (message) {
super(message)
this.message = message
}

}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manhattan-assets",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"description": "File and image uploads for forms.",
"engines": {
"node": ">=8.9.4"
Expand Down

0 comments on commit c940c0c

Please sign in to comment.