Skip to content

Fix the logger option not being applied to the event object - #1165

Merged
ste93cry merged 1 commit into
getsentry:masterfrom
ste93cry:fix/logger-option-is-not-set-on-event
Jan 7, 2021
Merged

ste93cry merged 1 commit into
getsentry:masterfrom
ste93cry:fix/logger-option-is-not-set-on-event

Conversation

@ste93cry

@ste93cry ste93cry commented Jan 6, 2021

Copy link
Copy Markdown
Contributor

As reported in #1162, the logger option is not being applied on the event object. This is a regression from 2.x, probably the code went missing during a refactoring and noone noticed it until now.

Side note: I don't have the full historic context of this option, however as of now I cannot find any references to this option in either the JS SDK or the Python SDK, so I believe it was removed at some point. I will open a separate PR, targeting the next minor version, to deprecate it. The field of the same name in the event payload is not affected

@ste93cry ste93cry added this to the 3.1 milestone Jan 6, 2021
@ste93cry
ste93cry requested a review from stayallive January 6, 2021 19:16
@ste93cry ste93cry linked an issue Jan 6, 2021 that may be closed by this pull request
@ste93cry ste93cry linked an issue Jan 6, 2021 that may be closed by this pull request
@ste93cry
ste93cry merged commit 7ec2a97 into getsentry:master Jan 7, 2021
@ste93cry
ste93cry deleted the fix/logger-option-is-not-set-on-event branch January 7, 2021 11:36
soundsgoodsofar pushed a commit to soundsgoodsofar/sentry-php that referenced this pull request Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is the "logger" option deprecated?

2 participants