From 08dde913c5766bb7466f2263ccca070049b54a72 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 21 Jul 2023 10:41:27 +0200 Subject: [PATCH] chore: add todo comment --- src/Serialize.astro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Serialize.astro b/src/Serialize.astro index e8ac4d3..99f71f6 100644 --- a/src/Serialize.astro +++ b/src/Serialize.astro @@ -21,6 +21,7 @@ let serializedData = '{}' try { serializedData = use ? use(data) : JSON.stringify(data); } catch(err) { + // extend error for helpful messages and guides throw Error(err) } ---