We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b8748 commit 3db3cceCopy full SHA for 3db3cce
packages/nextjs/src/node.ts
@@ -6,6 +6,10 @@ import { NextjsOptions } from './utils/nextjsOptions';
6
7
export * from '@sentry/node';
8
9
+// Here we want to make sure to only include what doesn't have browser specifics
10
+// because or SSR of next.js we can only use this.
11
+export { ErrorBoundary, withErrorBoundary } from '@sentry/react';
12
+
13
/** Inits the Sentry NextJS SDK on node. */
14
export function init(options: NextjsOptions): any {
15
const metadataBuilder = new MetadataBuilder(options, ['nextjs', 'node']);
0 commit comments