rospy: changing logerror to logdebug to match roscpp and prevent spam due to stale master state

This commit is contained in:
Ken Conley 2010-01-06 22:52:49 +00:00
parent 69514959a4
commit 073b4ee14f
1 changed files with 2 additions and 2 deletions

View File

@ -304,10 +304,10 @@ class RegManager(RegistrationListener):
try:
code, msg, _ = self.handler._connect_topic(topic, uri)
if code != 1:
logerr("Unable to connect subscriber to publisher [%s] for topic [%s]: %s", uri, topic, msg)
logdebug("Unable to connect subscriber to publisher [%s] for topic [%s]: %s", uri, topic, msg)
except Exception, e:
if not is_shutdown():
logerr("Unable to connect to publisher [%s] for topic [%s]: %s"%(uri, topic, traceback.format_exc()))
logdebug("Unable to connect to publisher [%s] for topic [%s]: %s"%(uri, topic, traceback.format_exc()))
def cleanup(self, reason):
"""