Skip to content

Commit

Permalink
Changed exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
rosamarsky committed Oct 22, 2018
1 parent 6c9148b commit cd4bdc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"stomp-php/stomp-php": "^4",
"php-http/guzzle6-adapter": "^1.1",
"php-http/client-common": "^1.7@dev",
"richardfullmer/rabbitmq-management-api": "^2.0"
"richardfullmer/rabbitmq-management-api": "^2.0",
"predis/predis": "^1.1"
},
"require-dev": {
"phpunit/phpunit": "^5.5",
Expand All @@ -48,7 +49,6 @@
"empi89/php-amqp-stubs": "*@dev",
"doctrine/doctrine-bundle": "~1.2",
"kwn/php-rdkafka-stubs": "^1.0.2",
"predis/predis": "^1.1",
"friendsofphp/php-cs-fixer": "^2"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/redis/RedisConnectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private function createRedis(): Redis
$this->redis = new PhpRedis($this->config);
} else {
if (false == class_exists(\Predis\Client::class)) {
throw new \LogicException('The package Predis must be installed');
throw new \LogicException('The package "predis/predis" must be installed. Please run "composer req predis/predis:^1.1" to install it');
}

$this->redis = new PRedis($this->config);
Expand Down

0 comments on commit cd4bdc1

Please sign in to comment.