Sanitize the exception