Fix bug 890960 - Show pretty error page where possible