Skip to content

Commit 207d8c0

Browse files
committed
log errors for now
1 parent 8e0bce6 commit 207d8c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/repl/src/lib/Repl.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@
131131
let runtime_error: Error | null = $state(null);
132132
let status_visible = $state(false);
133133
let status_timeout: NodeJS.Timeout | undefined = undefined;
134-
134+
$effect(() => {
135+
console.log(runtime_error);
136+
});
135137
const bundler = BROWSER
136138
? new Bundler({
137139
svelte_version: svelteVersion,

0 commit comments

Comments
 (0)