Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
fix: error rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 27, 2018
1 parent 83b1338 commit 6a3a407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getErrorMessage(err: any): string {
}
// Unhandled error
if (err.message && err.code) {
message = `${inspect(err.code)}: ${message}`
message = `${inspect(err.code)}: ${err.message}`
} else if (err.message) {
message = err.message
}
Expand Down

0 comments on commit 6a3a407

Please sign in to comment.