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

Issue: When DB cannot be connected, there's no error thrown on Trident #136

Open
teward opened this issue Mar 22, 2018 · 0 comments
Open

Comments

@teward
Copy link

teward commented Mar 22, 2018

This came up in testing and in the migration of an existing Trident 1.4.6rc2 instance to a new environment. When the DB cannot be reached by the Trident daemon, the Trident web frontend does not display any error indicating the DB connection failed - it simply shows a basis, dead version of the Trident frontend. Subsequently, there is no error indicator in the Trident logs or the webserver logs.

When an issue such as this occurs, Trident should probably throw an error, such as "Could not connect to DB" (and the corresponding exact error that was thrown by the underlying postgres system) in the error logs, and the Frontend should show "An error occurred" or something to indicate there was an error in the connection.

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