Closed rhpijnacker closed 3 years ago
What about expanding the stringify function in common/lib/util
to handle Errors and then using it?
As suggested on Gitter, reworked it to a more generic solution, using this MDN snippet as the basis.
Please retarget the PR against master (the monorepo conversion was put on hold, and dev switched back to that). Also, we'll probably need to import a core-js shim (src/lib/browser/shim.ts
) for WeakMap since IE doesn't support that.
Replaced with #1188 .
Fixes situations where an AssertionError is sent that contains circular references.