Skip to content

Commit b4339f7

Browse files
make sure to break the look when unable to talk to gh api
1 parent e00fcbd commit b4339f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

GitHubApi.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ private static async Task<List<GitHubRunner>> GetRunners(string githubToken, str
4949
else
5050
{
5151
Log.Warning($"Unable to get GH runners for org: [{response.StatusCode}] {response.ReasonPhrase}");
52+
break;
5253
}
5354
}
5455

0 commit comments

Comments
 (0)