Skip to content

Commit ea9dca7

Browse files
nicohrubecmsonnb
andauthored
Update packages/core/src/client.ts
Co-authored-by: Martin Sonnberger <martin.sonnberger@sentry.io>
1 parent 9907333 commit ea9dca7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
264264
});
265265
}
266266

267-
this._options.enableLogs = this._options.enableLogs ?? true;
267+
this._options.enableLogs ??= true;
268268

269269
// Setup log flushing with weight and timeout tracking
270270
if (this._options.enableLogs) {

0 commit comments

Comments
 (0)