UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

14 lines 545 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HANDLE_ERROR_TEMPLATE_V2 = exports.ERROR_BOUNDARY_TEMPLATE_V2 = void 0; exports.ERROR_BOUNDARY_TEMPLATE_V2 = `const ErrorBoundary = () => { const error = useRouteError(); captureRemixErrorBoundaryError(error); return <div>Something went wrong</div>; }; `; exports.HANDLE_ERROR_TEMPLATE_V2 = `const handleError = Sentry.wrapHandleErrorWithSentry((error, { request }) => { // Custom handleError implementation }); `; //# sourceMappingURL=templates.js.map