Skip to content
Snippets Groups Projects
Commit 784ef0a1 authored by Valerio Pastore's avatar Valerio Pastore
Browse files

.

parent 7222a6be
No related branches found
No related tags found
No related merge requests found
Subproject commit ddf846bce62642bcb790464bbf8457cc77174010
Subproject commit dcc324d37a29ee544b4c19b3432dc2e8cabd83af
......@@ -60,10 +60,10 @@ bool RedisReceiver::isConnectedToClient() const {
int RedisReceiver::receiveFromClient(PacketLib::BasePacket &pack) {
if (!isConnectedToClient()) {
if (context) {
std::cout << "Redis Receiver Error: " << context->errstr
std::cerr << "Redis Receiver Error: " << context->errstr
<< std::endl;
} else {
std::cout << "Redis Receiver Error: Can't allocate Redis context"
std::cerr << "Redis Receiver Error: Can't allocate Redis context"
<< std::endl;
}
return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment