MOAR logging

This commit is contained in:
brent s. 2020-05-15 02:47:08 -04:00
parent 92fdee435a
commit 375a8c8427
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -95,7 +95,10 @@ class TunnelBroker(object):
logger.debug('Added link {0} successfully.'.format(self.iface_name))
except Exception as e:
logger.error('Could not create link for link {0} '
'(maybe it already exists?): {1}'.format(self.iface_name, e))
'(maybe it already exists?) with local {1} and remote {2}: {3}'.format(self.iface_name,
self.my_ip.str,
self.tun.server.str,
e))
ipr.close()
raise e
try: