mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 02:21:55 +08:00

This reverts commit 42070d49da383459809fda2b6ad3ec64ed8e6092.
Overriding Error.stack like this seems to break the browser's own sourcemapping of stack-traces. Plus, it adds quite a significant performance overhead to tests (QUnit seems to rely on Error.stack even when tests pass). Reverting for now, but perhaps we can build a way to make this only apply to the UI-displayed stack traces in future 🤔