convertigo-studio-web/src/hooks.client.js
Rama develop · réplica de lectura del repositorio original.
/** @type {import('@sveltejs/kit').HandleClientError} */
export async function handleError({ error }) {
// The recovery script is loaded before the bundles, including during bootstrap.
try {
await /** @type {any} */ (window).convertigoChunkRecovery?.report(error, true);
} catch {
// Recovery must not replace SvelteKit's original error with a second exception.
}
}