Show github API errors in throw