Skip to content

Commit

Permalink
Backport PR #330: more complete error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored and MeeseeksDev[bot] committed Jan 6, 2018
1 parent 50c92b1 commit 3e416c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jupyter_client/manager.py
Expand Up @@ -229,9 +229,10 @@ def start_kernel(self, **kw):
"""
if self.transport == 'tcp' and not is_local_ip(self.ip):
raise RuntimeError("Can only launch a kernel on a local interface. "
"This one is not: %s."
"Make sure that the '*_address' attributes are "
"configured properly. "
"Currently valid addresses are: %s" % local_ips()
"Currently valid addresses are: %s" % (self.ip, local_ips())
)

# write connection file / get default ports
Expand Down

0 comments on commit 3e416c2

Please sign in to comment.