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

Remove panic on DatabaseConnection::Disconnected #2483

Open
j-mendez opened this issue Jan 29, 2025 · 1 comment
Open

Remove panic on DatabaseConnection::Disconnected #2483

j-mendez opened this issue Jan 29, 2025 · 1 comment

Comments

@j-mendez
Copy link

If our DB disconnects right now the code panics. Can we handle this safely?

src/database/db_connection.rs:119:49:

@j-mendez
Copy link
Author

@tyt2y3 is it possible to make the Db connection optional for the return?

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