mirror of
https://github.com/actions/runner.git
synced 2025-12-12 05:37:01 +00:00
Support refresh runner configs with pipelines service. (#3706)
This commit is contained in:
@@ -533,7 +533,8 @@ namespace GitHub.Runner.Listener
|
||||
}
|
||||
else if (ex is TaskAgentPoolNotFoundException ||
|
||||
ex is AccessDeniedException ||
|
||||
ex is VssUnauthorizedException)
|
||||
ex is VssUnauthorizedException ||
|
||||
(ex is VssOAuthTokenRequestException oauthEx && oauthEx.Error != "server_error"))
|
||||
{
|
||||
Trace.Info($"Non-retriable exception: {ex.Message}");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user