At Exception controller show status code message

On exception if is not on debug mode and is "marked" to display exception message, instead of empty message show the status code text as message. I think this approach is more user friendly then an empty message.