UNPKG

@sentry/remix

Version:
30 lines (26 loc) 1.2 kB
import { debug } from '@sentry/core'; import { DEBUG_BUILD } from '../utils/debug-build.js'; export * from '@sentry/react'; export { init } from './sdk.js'; export { captureRemixErrorBoundaryError } from './errors.js'; export { withSentry } from './performance.js'; export { browserTracingIntegration } from './browserTracingIntegration.js'; // import/export got a false positive, and affects most of our index barrel files // can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703 /* eslint-disable import/export */ // This is a no-op function that does nothing. It's here to make sure that the // function signature is the same as in the server SDK. // See issue: https://github.com/getsentry/sentry-javascript/issues/9594 /* eslint-disable @typescript-eslint/no-unused-vars */ /** * */ async function captureRemixServerException(err, name, request) { DEBUG_BUILD && debug.warn( '`captureRemixServerException` is a server-only function and should not be called in the browser. ' + 'This function is a no-op in the browser environment.', ); } export { captureRemixServerException }; //# sourceMappingURL=index.js.map