mirror of https://github.com/sveltejs/svelte
Merge 370beb4b0a into 275fa8231f
commit
e61e267cac
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: Don't crash on hydratable serialization failure
|
||||
@ -0,0 +1,6 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
mode: ['async'],
|
||||
error: 'hydratable_serialization_failed'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { hydratable } from 'svelte';
|
||||
|
||||
hydratable('key', () => new Promise(() => { throw new Error('nope') }));
|
||||
</script>
|
||||
Loading…
Reference in new issue