Skip to content

Commit 1ab1a1b

Browse files
fix(server): incorrect message type on HttpError (continued)
1 parent 0ccf9fd commit 1ab1a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class Server {
164164
try {
165165
json = JSON.parse(data);
166166
} catch (e) {
167-
let error: HttpError = {status: 500, message: e.status};
167+
let error: HttpError = {status: 500, message: e.message};
168168
this.handleResponseError(console, options, error, callback);
169169
return;
170170
}

0 commit comments

Comments
 (0)