We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e664af commit f96d47bCopy full SHA for f96d47b
packages/tracing/src/transaction.ts
@@ -106,7 +106,7 @@ export class Transaction extends SpanClass implements TransactionInterface {
106
107
this._hub
108
.getClient()
109
- ?.getTransport()
+ ?.getTransport?.()
110
.recordLostEvent?.(Outcome.SampleRate, 'transaction');
111
112
return undefined;
packages/types/src/client.ts
@@ -61,7 +61,7 @@ export interface Client<O extends Options = Options> {
61
getOptions(): O;
62
63
/** Returns clients transport. */
64
- getTransport(): Transport;
+ getTransport?(): Transport;
65
66
/**
67
* Flush the event queue and set the client to `enabled = false`. See {@link Client.flush}.
0 commit comments