display error information on failure