mirror of
https://gitlab.com/obbart/universal_robots_ros_driver.git
synced 2026-04-10 18:10:47 +02:00
Change ROS_ERROR_STREAM to LOG_ERROR.
This commit is contained in:
@@ -64,7 +64,7 @@ bool URServer::accept()
|
||||
|
||||
int retry = 0;
|
||||
while((client_fd = ::accept(getSocketFD(), &addr, &addr_len)) == -1){
|
||||
ROS_ERROR_STREAM("Accepting socket connection failed. (errno: " << errno << ")");
|
||||
LOG_ERROR("Accepting socket connection failed. (errno: %d)", errno);
|
||||
if(retry++ >= 5)
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user