Catch github errors