// 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 */ import { debug } from '@sentry/core'; import { DEBUG_BUILD } from '../utils/debug-build'; export * from '@sentry/react'; export { init } from './sdk'; export { captureRemixErrorBoundaryError } from './errors'; export { withSentry } from './performance'; export { browserTracingIntegration } from './browserTracingIntegration'; // 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 */ /** * */ export async function captureRemixServerException(err: unknown, name: string, request: Request): Promise { 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.', ); }