From 6145992f39eda737eddfa2790d12a4d33e22ff0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Wed, 26 Nov 2025 15:41:58 +0100 Subject: [PATCH] [Blueprints] Preserve more error information on failed fetch --- packages/playground/blueprints/src/lib/v1/resources.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/playground/blueprints/src/lib/v1/resources.ts b/packages/playground/blueprints/src/lib/v1/resources.ts index 7702283dca..13552a8ac5 100644 --- a/packages/playground/blueprints/src/lib/v1/resources.ts +++ b/packages/playground/blueprints/src/lib/v1/resources.ts @@ -388,7 +388,8 @@ export abstract class FetchResource extends Resource { throw new Error( `Could not download "${url}".\n\n` + `Confirm that the URL is correct, the server is reachable, and the file is` + - `actually served at that URL. Original error: \n ${e}` + `actually served at that URL. Original error: \n ${e}`, + { cause: e } ); } }