Skip to content

Commit

Permalink
Update lib/browser/rpc.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Geisshirt <kenneth.geisshirt@mongodb.com>
  • Loading branch information
kraenhansen and kneth authored Nov 25, 2020
1 parent 0ebd118 commit c82d5b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function sendRequest(command, data, host = sessionHost) {
error = `Unknown callback id: ${callback}`
}
} catch (e) {
error = e.message || ("" + e);
error = e.message || `${e}`;
if (e.stack) {
stack = JSON.stringify(e.stack);
}
Expand Down

0 comments on commit c82d5b5

Please sign in to comment.