Wrap a server-only load function (e.g. +page.server.js or +layout.server.js) with Sentry functionality
Usage:
// +page.serverjsimport { wrapServerLoadWithSentry }export const load = wrapServerLoadWithSentry((event) => { // your load code}); Copy
// +page.serverjsimport { wrapServerLoadWithSentry }export const load = wrapServerLoadWithSentry((event) => { // your load code});
SvelteKit user defined server-only load function
Generated using TypeDoc
Wrap a server-only load function (e.g. +page.server.js or +layout.server.js) with Sentry functionality
Usage: