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 event naming and unused catch block in old_database.js #4158

Open
coderabbitai bot opened this issue Jan 3, 2025 · 0 comments
Open

Fix event naming and unused catch block in old_database.js #4158

coderabbitai bot opened this issue Jan 3, 2025 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 3, 2025

Issue: The code has non-standard Node.js events "unlimitedRejection" instead of "unhandledRejection" and "disconnection" instead of "disconnected". Also, the try/catch block does not log or rethrow the error, making it effectively unused.

Referenced PR: #4157
Comment URL: #4157 (comment)

Reported by @Baalmart

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

No branches or pull requests

1 participant