Skip to content

Commit

Permalink
chore: demoting chatGPT error to non critical (#4585)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasburtey authored Sep 16, 2024
1 parent 749b3ab commit de74741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions core/api/src/domain/support/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ export class ChatAssistantNotFoundError extends SupportError {}

export class TimeoutAssistantError extends SupportError {}

export class UnknownChatAssistantError extends ChatAssistantError {
level = ErrorLevel.Critical
}
export class UnknownChatAssistantError extends ChatAssistantError {}
2 changes: 1 addition & 1 deletion core/api/src/services/twilio-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const KnownTwilioErrorMessages = {
UnsubscribedRecipient: /unsubscribed recipient/,
BadPhoneProviderConnection: /timeout of.*exceeded/,
BlockedRegion:
/The destination phone number has been blocked by Verify Geo-Permissions. .* is blocked for sms channel for all services/,
/The destination phone number has been blocked by Verify Geo-Permissions. .* is blocked for SMS channel for all services/,
RateLimitsExceeded: /Max.*attempts reached/,
TooManyConcurrentRequests: /Too many concurrent requests/,
FraudulentActivityBlock:
Expand Down

0 comments on commit de74741

Please sign in to comment.