Filed on Espace Win Bugzilla 2014-07-13 19:22:39 UTC.
When MongoDB server is down, a nice error page could be offered instead of let an exception be thrown.
( ! ) Fatal error: Uncaught exception 'MongoConnectionException' with message 'Failed to connect to: localhost:27017: Connection refused' in /usr/home/dereckson/dev/obsidian/repo/includes/collection/MongoDBCollection.php on line 106 ( ! ) MongoConnectionException: Failed to connect to: localhost:27017: Connection refused in /usr/home/dereckson/dev/obsidian/repo/includes/collection/MongoDBCollection.php on line 106
Something more generic could be provided in Collection::load.