Update packages/core-app-api/src/apis/implementations/FetchApi/ClarifyFailuresFetchMiddleware.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-03-28 17:01:07 +01:00
committed by GitHub
parent 9f1ac04765
commit 18c3dbadd6
@@ -18,7 +18,7 @@ import { FetchMiddleware } from './types';
/**
* Replaces the generic "TypeError: Failed to fetch" error with a more
* informative message that includes the target URL.
* informative message that includes the HTTP method and target URL.
*/
export class ClarifyFailuresFetchMiddleware implements FetchMiddleware {
apply(next: typeof fetch): typeof fetch {