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

fix: fixed edge cases when session could be null #699

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

titanism
Copy link
Contributor

If the session is set to null and an err occurs, for example here:

https://github.com/titanism/wildduck/blob/c9188b3766b547b091d140a33308b5c3ec3aa1d4/lib/pop3/connection.js#L1010

Then an uncaught exception will be thrown.

If the session is set to `null` and an `err` occurs, for example here:

<https://github.com/titanism/wildduck/blob/c9188b3766b547b091d140a33308b5c3ec3aa1d4/lib/pop3/connection.js#L1010>

Then an uncaught exception will be thrown.
lib/pop3/connection.js Outdated Show resolved Hide resolved
Co-authored-by: Shaun Warman <1986128+shaunwarman@users.noreply.github.com>
@titanism
Copy link
Contributor Author

PR ready to go, please merge, thank you!

@andris9 andris9 merged commit a68725d into nodemailer:master Jun 28, 2024
4 checks passed
@titanism titanism deleted the patch-3 branch July 11, 2024 21:01
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.

3 participants