1
0

network: minor fix in switch_to_interface

This commit is contained in:
SomberNight
2018-09-10 02:30:27 +02:00
parent 6b2509b106
commit 526319630e
2 changed files with 3 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ class Interface(PrintError):
try:
await self.open_session(ssl_context, exit_early=False)
except (asyncio.CancelledError, OSError, aiorpcx.socks.SOCKSFailure) as e:
self.print_error('disconnecting due to: {}'.format(e))
self.print_error('disconnecting due to: {} {}'.format(e, type(e)))
self.exception = e
return
# should never get here (can only exit via exception)