Skip to content

Commit 3f05a9e

Browse files
committed
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.
1 parent 9a7cb57 commit 3f05a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zmq/zmqutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212

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

0 commit comments

Comments
 (0)