Skip to content

Commit 0b9f59d

Browse files
committed
Suppress Redis warning because it throws exception
1 parent ed43ea6 commit 0b9f59d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SaveHandlers/RedisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function open($path, $name) : bool
109109
}
110110
$this->redis = new Redis();
111111
try {
112-
$this->redis->connect(
112+
@$this->redis->connect(
113113
$this->config['host'],
114114
$this->config['port'],
115115
$this->config['timeout']

0 commit comments

Comments
 (0)