zmq: use msg: prefix over errno= in zmqError

zmq_strerror() converts the passed errno into a description, meaning
currently you have output like: "errno=No such file or directory".

Using msg: would seem to make more sense here.
pull/22200/head
fanquake 3 years ago
parent 9a7cb57bbc
commit 3f05a9e681
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -12,5 +12,5 @@
void zmqError(const std::string& str)
{
LogPrint(BCLog::ZMQ, "zmq: Error: %s, errno=%s\n", str, zmq_strerror(errno));
LogPrint(BCLog::ZMQ, "zmq: Error: %s, msg: %s\n", str, zmq_strerror(errno));
}

Loading…
Cancel
Save