Throw correct error

This commit is contained in:
2020-04-22 10:39:32 +02:00
parent 577221810f
commit 854246f820
+1 -1
View File
@@ -34,7 +34,7 @@ int main (int argc, char *argv[])
//TODO: Use ipc?
if (zmq_bind(socket, "tcp://localhost:50000") != 0) {
throw runtime_error("not binding");
throw runtime_error(strerror (errno));
}
int rcvhwm = 3;