Skip to content

Commit

Permalink
Update manage.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ye4293 authored Aug 31, 2024
1 parent 635a26f commit d837aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor/manage.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func ShouldDisableChannel(err *model.Error, statusCode int) bool {
case "insufficient_quota", "authentication_error", "permission_error", "forbidden":

Check warning on line 22 in monitor/manage.go

View check run for this annotation

Codecov / codecov/patch

monitor/manage.go#L22

Added line #L22 was not covered by tests
return true
}
if err.Code == "invalid_api_key" {
if err.Code == "invalid_api_key" || err.Code == "account_deactivated" {
return true
}

Expand Down

0 comments on commit d837aa8

Please sign in to comment.