BZ999876 - Ugly, unformatted error pop-ups with stacktraces
(cherry picked from commit de2c50b8990bb1bc4b8d44ab83fda805a6a6fe29)