File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ private function connect(array $server): Redis {
9191 }
9292 } catch (Exception $ e ) {
9393 throw new DashboardException (
94- sprintf ('Failed to connect to Redis server (%s) . Error: %s ' , $ redis_server , $ e ->getMessage ())
94+ sprintf ('Failed to connect to Redis server %s . Error: %s ' , $ redis_server , $ e ->getMessage ())
9595 );
9696 }
9797
@@ -101,15 +101,15 @@ private function connect(array $server): Redis {
101101 }
102102 } catch (Exception $ e ) {
103103 throw new DashboardException (
104- sprintf ('Could not authenticate with Redis server (%s) . Error: %s ' , $ redis_server , $ e ->getMessage ())
104+ sprintf ('Could not authenticate with Redis server %s . Error: %s ' , $ redis_server , $ e ->getMessage ())
105105 );
106106 }
107107
108108 try {
109109 $ redis ->select (Http::get ('db ' , 'int ' , $ server ['database ' ] ?? 0 ));
110110 } catch (Exception $ e ) {
111111 throw new DashboardException (
112- sprintf ('Could not select Redis database (%s) . Error: %s ' , $ redis_server , $ e ->getMessage ())
112+ sprintf ('Could not select Redis database %s . Error: %s ' , $ redis_server , $ e ->getMessage ())
113113 );
114114 }
115115
You can’t perform that action at this time.
0 commit comments