improve error handling and reporting on failed commands