Skip to content

Commit d5eae6a

Browse files
committed
logging
1 parent a83d6b1 commit d5eae6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/next/src/server/app-render/create-error-handler.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ export function createHTMLReactServerErrorHandler(
143143
)
144144
)
145145
) {
146+
console.error('DEBUG:RSC onError', err)
146147
// Record exception in an active span, if available.
147148
const span = getTracer().getActiveScopeSpan()
148149
if (span) {
@@ -217,6 +218,7 @@ export function createHTMLErrorHandler(
217218
)
218219
)
219220
) {
221+
console.error('DEBUG:SSR onError', err)
220222
// Record exception in an active span, if available.
221223
const span = getTracer().getActiveScopeSpan()
222224
if (span) {

0 commit comments

Comments
 (0)