From a855fd1f9057757b352288edd50d81449c826abe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Thu, 21 Dec 2023 09:15:42 +0100 Subject: [PATCH] log errors to the console closes #405 --- src/client/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/main.js b/src/client/main.js index fef6ff48b..f33c62a10 100644 --- a/src/client/main.js +++ b/src/client/main.js @@ -46,7 +46,7 @@ export function define(cell) { _node: root, // for visibility promise pending: () => (reset = clear), fulfilled: () => reset?.(), - rejected: (error) => (reset?.(), root.append(inspectError(error))) + rejected: (error) => (reset?.(), console.error(error), root.append(inspectError(error))) }, { shadow: {