Skip to content

Commit

Permalink
fix(server): incorrect message type on HttpError (continued)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed Sep 22, 2016
1 parent 0ccf9fd commit 1ab1a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class Server {
try {
json = JSON.parse(data);
} catch (e) {
let error: HttpError = {status: 500, message: e.status};
let error: HttpError = {status: 500, message: e.message};
this.handleResponseError(console, options, error, callback);
return;
}
Expand Down

0 comments on commit 1ab1a1b

Please sign in to comment.