Skip to content

Commit

Permalink
🐛 error object to string
Browse files Browse the repository at this point in the history
  • Loading branch information
princejwesley committed Feb 28, 2016
1 parent db72b62 commit f6460bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ReplOutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class None {
}
getValue() { return void 0; }
highlight(output) {
let [first, ...rest] = output.split(EOL);
let [first, ...rest] = (output.stack || output.toString()).split(EOL);
return {
formattedOutput:
<ReplEntryOutputError message={first} trace={rest}>
Expand Down

0 comments on commit f6460bc

Please # to comment.