show returned error message

instead of just displaying a general error.