Browse Source

Let's not print this to the logs

pull/2/head
Grant Limberg 6 years ago
parent
commit
088dab4f04
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A
  1. 1
      controller/RabbitMQ.cpp

1
controller/RabbitMQ.cpp

@ -51,7 +51,6 @@ void RabbitMQ::init()
throw std::runtime_error("Can't create socket for RabbitMQ"); throw std::runtime_error("Can't create socket for RabbitMQ");
} }
fprintf(stderr, "RabbitMQ: amqp://%s:%s@%s:%d\n", _mqc->username.c_str(), _mqc->password.c_str(), _mqc->host.c_str(), _mqc->port);
_status = amqp_socket_open_noblock(_socket, _mqc->host.c_str(), _mqc->port, &tval); _status = amqp_socket_open_noblock(_socket, _mqc->host.c_str(), _mqc->port, &tval);
if (_status) { if (_status) {
throw std::runtime_error("Can't connect to RabbitMQ"); throw std::runtime_error("Can't connect to RabbitMQ");

Loading…
Cancel
Save