![Philip Chimento](/assets/img/avatar_default.png)
Instead of manually formatting the error message and stack, use the same formatting mechanism as we do when displaying errors to the user that occur while opening extension preferences. This should correctly indicate where syntax errors from imported modules occur. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3041>