{"action":"closed","issue":{"url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/124","labels_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/124/comments","events_url":"https://api.github.com/repos/opensource-socialnetwork/opensource-socialnetwork/issues/124/events","html_url":"https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/124","id":51333626,"number":124,"title":"output missing with OssnDatabaseException ","user":{"login":"githubertus","id":9904364,"avatar_url":"https://avatars.githubusercontent.com/u/9904364?v=3","gravatar_id":"","url":"https://api.github.com/users/githubertus","html_url":"https://github.com/githubertus","followers_url":"https://api.github.com/users/githubertus/followers","following_url":"https://api.github.com/users/githubertus/following{/other_user}","gists_url":"https://api.github.com/users/githubertus/gists{/gist_id}","starred_url":"https://api.github.com/users/githubertus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubertus/subscriptions","organizations_url":"https://api.github.com/users/githubertus/orgs","repos_url":"https://api.github.com/users/githubertus/repos","events_url":"https://api.github.com/users/githubertus/events{/privacy}","received_events_url":"https://api.github.com/users/githubertus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-08T18:19:51Z","updated_at":"2015-01-04T16:38:47Z","closed_at":"2015-01-04T16:38:47Z","body":"I just did a little test what would happen if one or more database credentials are wrong:\r\nWe're getting a blank page - that's all.\r\nAdding the line:\r\necho (\"database connect error: {$connect->connect_error} <br> error code: {$connect->connect_errno}\");\r\nto the Connect function gives  in fact a reasonable result like:\r\n\r\ndatabase connect error: Access denied for user 'ruth'@'localhost' (using password: YES)\r\nerror code: 1045\r\n\r\nBut there's no output from the regular OssnDatabaseException call.\r\n"}}