mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
More descriptive message.
This commit is contained in:
parent
7e140c5baf
commit
96cb061e7b
@ -187,7 +187,7 @@ class ZMQChannelsHandler(AuthenticatedZMQStreamHandler):
|
||||
protocol_version = info.get('protocol_version', client_protocol_version)
|
||||
if protocol_version != client_protocol_version:
|
||||
self.session.adapt_version = int(protocol_version.split('.')[0])
|
||||
self.log.info("Adapting to protocol v%s for kernel %s (client expecting %s)", protocol_version, self.kernel_id, client_protocol_version)
|
||||
self.log.info("Adapting from protocol version {protocol_version} (kernel {kernel_id}) to {client_protocol_version} (client).".format(protocol_version=protocol_version, kernel_id=self.kernel_id, client_protocol_version=client_protocol_version))
|
||||
if not self._kernel_info_future.done():
|
||||
self._kernel_info_future.set_result(info)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user