{"action":"opened","issue":{"url":"https://api.github.com/repos/joelcox/codeigniter-redis/issues/61","labels_url":"https://api.github.com/repos/joelcox/codeigniter-redis/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/joelcox/codeigniter-redis/issues/61/comments","events_url":"https://api.github.com/repos/joelcox/codeigniter-redis/issues/61/events","html_url":"https://github.com/joelcox/codeigniter-redis/issues/61","id":86007359,"number":61,"title":"No way to check if redis is running","user":{"login":"roopunk","id":1570335,"avatar_url":"https://avatars.githubusercontent.com/u/1570335?v=3","gravatar_id":"","url":"https://api.github.com/users/roopunk","html_url":"https://github.com/roopunk","followers_url":"https://api.github.com/users/roopunk/followers","following_url":"https://api.github.com/users/roopunk/following{/other_user}","gists_url":"https://api.github.com/users/roopunk/gists{/gist_id}","starred_url":"https://api.github.com/users/roopunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roopunk/subscriptions","organizations_url":"https://api.github.com/users/roopunk/orgs","repos_url":"https://api.github.com/users/roopunk/repos","events_url":"https://api.github.com/users/roopunk/events{/privacy}","received_events_url":"https://api.github.com/users/roopunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T03:27:04Z","updated_at":"2015-06-08T03:27:04Z","closed_at":null,"body":"So when my redis server is not running and I try to initialize the library : ```$this->load->library('Redis')``` , it throws an error straight away via show_error() CI function which gives a 500 http response code. \r\n\r\nI think It will be great to have a function like getStatus() to check if redis is on and then running the query. So something like : \r\n\r\n```php\r\nif($this->redis->getStatus()) \r\n    $this->redis->set($key, $value);\r\n```\r\n"}}