Commit e566d57
[console] Wrap Error.stack in a span/div when standard formatting fails
This CL wraps the linkified Error.stack DocumentFragment in a span or
div element when the "tryFormatAsError" method fails to extract and
render an Error object.
With this CL, we properly separate the different Errors in a
Error.cause chain where we fail to parse and format some of the
Errors.
[email protected]
Fixed: 395489589
Change-Id: Id0e4d610281e4e1f5cf7fef9d75a595ec545a6c5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6276558
Reviewed-by: Philip Pfaffe <[email protected]>
Commit-Queue: Simon Zünd <[email protected]>1 parent e8b377b commit e566d57
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
988 | | - | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
989 | 992 | | |
990 | 993 | | |
991 | 994 | | |
| |||
0 commit comments