mirror of https://github.com/sveltejs/svelte
fix: try-catch deep read (#10270)
Accessing values might throw errors if they're not just values but getters. Guard against that by try-catching every access so that `$inspect` doesn't fail fixes the iframe error in the playground reported in #10174pull/10274/head
parent
40c2956381
commit
03c067f598
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: try-catch deep read during `$inspect`
|
Loading…
Reference in new issue