diff --git a/site/src/api/errors.ts b/site/src/api/errors.ts index 56f385b19959d..b65c3d038da27 100644 --- a/site/src/api/errors.ts +++ b/site/src/api/errors.ts @@ -25,6 +25,9 @@ export type ApiError = AxiosError & { response: AxiosResponse< export const isApiError = (err: any): err is ApiError => { if (axios.isAxiosError(err)) { const response = err.response?.data + if (!response) { + return false + } return ( typeof response.message === "string" && pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy