gake: check errors