Show More
@@ -418,6 +418,10 b' class Kernel(Configurable):' | |||||
418 | reply_content['engine_info'] = e_info |
|
418 | reply_content['engine_info'] = e_info | |
419 | # reset after use |
|
419 | # reset after use | |
420 | shell._reply_content = None |
|
420 | shell._reply_content = None | |
|
421 | ||||
|
422 | if 'traceback' in reply_content: | |||
|
423 | self.log.info("Exception in execute request:\n%s", '\n'.join(reply_content['traceback'])) | |||
|
424 | ||||
421 |
|
425 | |||
422 | # At this point, we can tell whether the main code execution succeeded |
|
426 | # At this point, we can tell whether the main code execution succeeded | |
423 | # or not. If it did, we proceed to evaluate user_variables/expressions |
|
427 | # or not. If it did, we proceed to evaluate user_variables/expressions | |
@@ -629,6 +633,7 b' class Kernel(Configurable):' | |||||
629 |
|
633 | |||
630 | self.session.send(self.iopub_socket, u'pyerr', reply_content, parent=parent, |
|
634 | self.session.send(self.iopub_socket, u'pyerr', reply_content, parent=parent, | |
631 | ident=self._topic('pyerr')) |
|
635 | ident=self._topic('pyerr')) | |
|
636 | self.log.info("Exception in apply request:\n%s", '\n'.join(reply_content['traceback'])) | |||
632 | result_buf = [] |
|
637 | result_buf = [] | |
633 |
|
638 | |||
634 | if reply_content['ename'] == 'UnmetDependency': |
|
639 | if reply_content['ename'] == 'UnmetDependency': |
General Comments 0
You need to be logged in to leave comments.
Login now