We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c9d246 commit 14bd783Copy full SHA for 14bd783
packages/repl/src/lib/Output/srcdoc/index.html
@@ -68,21 +68,6 @@
68
<script>
69
(function () {
70
function send(payload, origin = '*') {
71
- if (payload.command === 'info' && payload.args[0] instanceof Error) {
72
- const error = payload.args[0];
73
-
74
- if (/^(CreatedAt|UpdatedAt|TracedAt)Error$/.test(error.name)) {
75
- // structuredClone obliterates useful info
76
- // TODO do this for all errors?
77
- payload.args[0] = {
78
- type: '__error',
79
- name: error.name,
80
- message: error.message,
81
- stack: error.stack
82
- };
83
- }
84
85
86
parent.postMessage(payload, origin);
87
}
88
0 commit comments