diff --git a/superset-frontend/packages/superset-ui-core/src/query/api/v1/handleError.ts b/superset-frontend/packages/superset-ui-core/src/query/api/v1/handleError.ts index d8543466ad9a5..62c13c9d8cd45 100644 --- a/superset-frontend/packages/superset-ui-core/src/query/api/v1/handleError.ts +++ b/superset-frontend/packages/superset-ui-core/src/query/api/v1/handleError.ts @@ -29,7 +29,7 @@ export type ErrorInput = string | Error | Response | SupersetApiErrorPayload; * @param error the catched error from SupersetClient.request(...) */ export default async function handleError(error: ErrorInput): Promise { - // already a Sueprset error + // already a Superset error if (error instanceof SupersetApiError) { throw error; }