mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-28 09:22:23 +02:00
Throw correct error
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user