Skip to content

Commit 91401af

Browse files
authored
Merge branch 'main' into remove-dependence-on-location
2 parents 1194a92 + 9328558 commit 91401af

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/
1111

1212
### :rocket: (Enhancement)
1313

14+
* feat(tracing): log span name and IDs when span end is called multiple times [#3716](https://github.com/open-telemetry/opentelemetry-js/pull/3716)
15+
1416
### :bug: (Bug Fix)
1517

1618
* fix(instrumentation-http): fixed description for http.server.duration metric [#3710](https://github.com/open-telemetry/opentelemetry-js/pull/3710)

packages/opentelemetry-sdk-trace-base/src/Span.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ export class Span implements APISpan, ReadableSpan {
216216

217217
end(endTime?: TimeInput): void {
218218
if (this._isSpanEnded()) {
219-
diag.error('You can only call end() on a span once.');
219+
diag.error(
220+
`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`
221+
);
220222
return;
221223
}
222224
this._ended = true;

selenium-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"babel-loader": "8.2.3",
4141
"babel-polyfill": "6.26.0",
4242
"browserstack-local": "1.4.8",
43-
"chromedriver": "111.0.0",
43+
"chromedriver": "112.0.0",
4444
"dotenv": "16.0.0",
4545
"fast-safe-stringify": "2.1.1",
4646
"geckodriver": "3.0.1",

0 commit comments

Comments
 (0)