Add 'Upstream service unreachable' to network errors (#9255)
This commit is contained in:
@@ -78,6 +78,7 @@ const NETWORK_ERRORS = [
|
|||||||
'Network request failed',
|
'Network request failed',
|
||||||
'Failed to fetch',
|
'Failed to fetch',
|
||||||
'Load failed',
|
'Load failed',
|
||||||
|
'Upstream service unreachable',
|
||||||
]
|
]
|
||||||
|
|
||||||
export function isNetworkError(e: unknown) {
|
export function isNetworkError(e: unknown) {
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ const NETWORK_ERRORS = [
|
|||||||
'Network request failed',
|
'Network request failed',
|
||||||
'Failed to fetch',
|
'Failed to fetch',
|
||||||
'Load failed',
|
'Load failed',
|
||||||
|
'Upstream service unreachable',
|
||||||
]
|
]
|
||||||
|
|
||||||
export function isNetworkError(e: unknown) {
|
export function isNetworkError(e: unknown) {
|
||||||
|
|||||||
Reference in New Issue
Block a user