Replace raw stacktrace to console window with more descriptive message.