mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-02 08:31:35 +00:00
fix(grok): fail over OAuth credential errors safely
This commit is contained in:
@@ -9,6 +9,7 @@ export function mapErrorCategory(phase?: string | null, errType?: string | null)
|
||||
return 'auth'
|
||||
case 'routing':
|
||||
return 'service_unavailable'
|
||||
case 'account_auth':
|
||||
case 'upstream':
|
||||
case 'network':
|
||||
return 'upstream'
|
||||
|
||||
Reference in New Issue
Block a user