From 0bd98b51f0d4eb656db6fd7c70097bc2b141b9f4 Mon Sep 17 00:00:00 2001 From: Mikkel ALMONTE--RINGAUD Date: Fri, 3 Jan 2025 04:31:12 +0100 Subject: [PATCH] feat(fetcher): return error messages from JS on WASM --- fetcher/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetcher/src/lib.rs b/fetcher/src/lib.rs index ffbf85c..ba39043 100644 --- a/fetcher/src/lib.rs +++ b/fetcher/src/lib.rs @@ -74,7 +74,8 @@ pub async fn fetch(request: Request, fetcher: &js_sys::Function) -> Result Result