Skip to content

Commit

Permalink
Merge pull request #230 from takluyver/less-scary-unknown-msg
Browse files Browse the repository at this point in the history
Make 'Unknown message' log less scary
  • Loading branch information
Carreau authored Feb 24, 2017
2 parents 96b0c3c + 9d67fbb commit 4473ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipykernel/kernelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def dispatch_shell(self, stream, msg):

handler = self.shell_handlers.get(msg_type, None)
if handler is None:
self.log.error("UNKNOWN MESSAGE TYPE: %r", msg_type)
self.log.warn("Unknown message type: %r", msg_type)
else:
self.log.debug("%s: %s", msg_type, msg)
self.pre_handler_hook()
Expand Down

0 comments on commit 4473ca5

Please sign in to comment.