Skip to content

Commit

Permalink
Added more error messages for retriable errors (timeouts, etc.)
Browse files Browse the repository at this point in the history
These are necessary to handle a problem with timeouts in permissions fetching
  • Loading branch information
alexott committed Jul 5, 2024
1 parent b58dc70 commit eabddfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openapi/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ var TransientErrorRegexes = []*regexp.Regexp{
regexp.MustCompile(`Unknown worker environment`),
regexp.MustCompile(`ClusterNotReadyException`),
regexp.MustCompile(`worker env .* not found`),
regexp.MustCompile(`Timed out after `),
regexp.MustCompile(`deadline exceeded`),
}

0 comments on commit eabddfc

Please sign in to comment.