MITLibraries / oastats-ui

The User Interface for the MIT Libraries Open Access Statistics Project
0 stars 2 forks source link

Error handling for database failure #54

Closed matt-bernhardt closed 10 years ago

matt-bernhardt commented 10 years ago

• [YES – more testing; better error handling] Error: Failed to connect to: libdb-dev.mit.edu:27017: php_network_getaddresses: getaddrinfo failed: Name or service not known”.

matt-bernhardt commented 10 years ago

By moving the database connection later in the page load, I've now got the site branding appearing and a nicer error screen. I'm not sure about the best wording for this screen, however - I set up the following text as a straw man. The styling is the same graphic language as the alert on the timeline when the user selects more than 10 items in the filter.

error screen

matt-bernhardt commented 10 years ago

I'm going to mark this as closed - the error screen as it exists currently is a significant improvement over the previous technique, and addresses the original stated problem.