File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/node/opentelemetry-instrumentation-graphql/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import {
2121 SimpleSpanProcessor ,
2222} from '@opentelemetry/sdk-trace-base' ;
2323import { Span , SpanStatusCode } from '@opentelemetry/api' ;
24- import { SEMATTRS_EXCEPTION_MESSAGE } from '@opentelemetry/semantic-conventions' ;
24+ import { ATTR_EXCEPTION_MESSAGE } from '@opentelemetry/semantic-conventions' ;
2525import * as assert from 'assert' ;
2626import type * as graphqlTypes from 'graphql' ;
2727import { GraphQLInstrumentation } from '../src' ;
@@ -1448,7 +1448,7 @@ describe('graphql', () => {
14481448 const resolveEvent = resolveSpan . events [ 0 ] ;
14491449 assert . deepStrictEqual ( resolveEvent . name , 'exception' ) ;
14501450 assert . deepStrictEqual (
1451- resolveEvent . attributes ?. [ SEMATTRS_EXCEPTION_MESSAGE ] ,
1451+ resolveEvent . attributes ?. [ ATTR_EXCEPTION_MESSAGE ] ,
14521452 'sync resolver error from tests'
14531453 ) ;
14541454
You can’t perform that action at this time.
0 commit comments