Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize logging earlier #2218

Merged
merged 1 commit into from
Jun 1, 2023
Merged

Initialize logging earlier #2218

merged 1 commit into from
Jun 1, 2023

Conversation

jnyrup
Copy link
Contributor

@jnyrup jnyrup commented Jun 1, 2023

When an event handler is attached as part of the constructor and invoked before _logger has been populated we might throw an NRE.

Found by @leonardo-fernandes

When an event handler is attached as part of the constructor and invoked
before `_logger` has been populated we might throw an NRE.
@kblok kblok merged commit 33a5f98 into hardkoded:master Jun 1, 2023
leonardo-fernandes pushed a commit to leonardo-fernandes/puppeteer-sharp that referenced this pull request Jun 2, 2023
When an event handler is attached as part of the constructor and invoked
before `_logger` has been populated we might throw an NRE.
@jnyrup jnyrup deleted the logging branch June 2, 2023 04:58
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.

2 participants