add more debugging so we know successful update
This commit is contained in:
parent
b1456ae16a
commit
f8bfd846b7
@ -231,6 +231,8 @@ class TunnelBroker(object):
|
|||||||
if status.lower() not in ('good', 'nochg'):
|
if status.lower() not in ('good', 'nochg'):
|
||||||
logger.error('Returned following failure message: {0}'.format(req.content.decode('utf-8')))
|
logger.error('Returned following failure message: {0}'.format(req.content.decode('utf-8')))
|
||||||
raise RuntimeError('Client IP update returned failure')
|
raise RuntimeError('Client IP update returned failure')
|
||||||
|
else:
|
||||||
|
logger.debug('Returned success message: {0}'.format(req.content.decode('utf-8')))
|
||||||
if self.ipr and oneshot:
|
if self.ipr and oneshot:
|
||||||
self.ipr.close()
|
self.ipr.close()
|
||||||
self.ipr = None
|
self.ipr = None
|
||||||
|
Loading…
Reference in New Issue
Block a user