Skip to content

Commit a3be155

Browse files
committed
STASH
1 parent 3bf477f commit a3be155

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

packages/nextjs/test/integration/test/server/errorApiEndpoint.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ module.exports = async ({ url: urlBase, argv }) => {
4949
);
5050

5151
await getAsync(url);
52-
await sleep(100);
52+
await sleep(200);
5353

54-
assert.ok(capturedErrorRequest.isDone(), 'Did not intercept expected error request');
5554
assert.ok(capturedTransactionRequest.isDone(), 'Did not intercept expected transaction request');
55+
assert.ok(capturedErrorRequest.isDone(), 'Did not intercept expected error request');
5656
};

packages/tracing/src/span.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ export class Span implements SpanInterface {
393393
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
394394
public_key: dsn.publicKey!,
395395
user,
396+
transaction: this.transaction?.name,
396397
})}`;
397398
}
398399

packages/tracing/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ type SentryTracestateData = {
157157
release?: string;
158158
public_key: string;
159159
user?: { id?: string; segment?: string };
160+
transaction?: string;
160161
};
161162

162163
/**

0 commit comments

Comments
 (0)