Skip to content

Commit 099b96d

Browse files
Merge pull request erikdubbelboer#103 from itouzigithub/master
die on an exception occurred.
2 parents 961e1d5 + f4640ad commit 099b96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/common.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
try {
122122
$redis->connect();
123123
} catch (Predis\CommunicationException $exception) {
124-
$redis = false;
124+
die('ERROR: ' . $exception->getMessage());
125125
}
126126

127127
if (isset($server['auth'])) {

0 commit comments

Comments
 (0)