Commit 1645e04
util: only the first line of the error message
V8 extends the error message for JSON#stringify when encountering
circular structures. The first line of the new error message
is equivalent to the old error message and stays the same across
all circular structure errors.1 parent 62c2310 commit 1645e04
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
| 1386 | + | |
1386 | 1387 | | |
1387 | 1388 | | |
1388 | 1389 | | |
| |||
1393 | 1394 | | |
1394 | 1395 | | |
1395 | 1396 | | |
1396 | | - | |
| 1397 | + | |
1397 | 1398 | | |
1398 | 1399 | | |
1399 | | - | |
| 1400 | + | |
| 1401 | + | |
1400 | 1402 | | |
| 1403 | + | |
1401 | 1404 | | |
1402 | 1405 | | |
1403 | 1406 | | |
| |||
0 commit comments