Display better error message to the user.