Handle http errors in github plugin correct.