Commit 5638da50 authored by Evan Kirkiles's avatar Evan Kirkiles Committed by devjiwonchoi

Update tests for new 5xx's as erroring spans behavior

parent 246d1b95
...@@ -876,7 +876,7 @@ describe('opentelemetry', () => { ...@@ -876,7 +876,7 @@ describe('opentelemetry', () => {
'next.span_type': 'BaseServer.handleRequest', 'next.span_type': 'BaseServer.handleRequest',
}, },
kind: 1, kind: 1,
status: { code: 0 }, status: { code: 2 },
traceId: env.span.traceId, traceId: env.span.traceId,
parentId: env.span.rootParentId, parentId: env.span.rootParentId,
spans: [ spans: [
......
...@@ -4,7 +4,4 @@ export default function Page() { ...@@ -4,7 +4,4 @@ export default function Page() {
export function getServerSideProps() { export function getServerSideProps() {
throw new Error('ServerSideProps error') throw new Error('ServerSideProps error')
return {
props: {},
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment