Try to make exception reporting more useful.