Put more error information into error messages.