diff --git a/monitor/manage.go b/monitor/manage.go index aa67e3f0..e92912a1 100644 --- a/monitor/manage.go +++ b/monitor/manage.go @@ -22,7 +22,7 @@ func ShouldDisableChannel(err *model.Error, statusCode int) bool { case "insufficient_quota", "authentication_error", "permission_error", "forbidden": return true } - if err.Code == "invalid_api_key" { + if err.Code == "invalid_api_key" || err.Code == "account_deactivated" { return true }