add more logs in setupPushAndPull for errors case