Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Display a sensible error when railsport can't contact the SQL server #2073

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 6.02pm, Thursday, 16th July 2009]

Right now it just croaks with a general 500 error.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 4.41pm, Monday, 18th April 2011]

If the database is down, and the site hasn't deliberately been put in offline mode, then we're fubared anyway and a 500 is fine. I don't see any point spending a lot of time trying to tunnel deep enough into rails to intercept the error and do something else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant