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 {
21
21
SimpleSpanProcessor ,
22
22
} from '@opentelemetry/sdk-trace-base' ;
23
23
import { Span , SpanStatusCode } from '@opentelemetry/api' ;
24
- import { SEMATTRS_EXCEPTION_MESSAGE } from '@opentelemetry/semantic-conventions' ;
24
+ import { ATTR_EXCEPTION_MESSAGE } from '@opentelemetry/semantic-conventions' ;
25
25
import * as assert from 'assert' ;
26
26
import type * as graphqlTypes from 'graphql' ;
27
27
import { GraphQLInstrumentation } from '../src' ;
@@ -1448,7 +1448,7 @@ describe('graphql', () => {
1448
1448
const resolveEvent = resolveSpan . events [ 0 ] ;
1449
1449
assert . deepStrictEqual ( resolveEvent . name , 'exception' ) ;
1450
1450
assert . deepStrictEqual (
1451
- resolveEvent . attributes ?. [ SEMATTRS_EXCEPTION_MESSAGE ] ,
1451
+ resolveEvent . attributes ?. [ ATTR_EXCEPTION_MESSAGE ] ,
1452
1452
'sync resolver error from tests'
1453
1453
) ;
1454
1454
You can’t perform that action at this time.
0 commit comments