Show More
@@ -50,8 +50,8 b' class ExecutePreprocessor(Preprocessor):' | |||||
50 | try: |
|
50 | try: | |
51 | outputs = self.run_cell(self.shell, self.iopub, cell) |
|
51 | outputs = self.run_cell(self.shell, self.iopub, cell) | |
52 | except Exception as e: |
|
52 | except Exception as e: | |
53 |
|
|
53 | self.log.error("failed to run cell: " + repr(e)) | |
54 |
|
|
54 | self.log.error(str(cell.input)) | |
55 | sys.exit(1) |
|
55 | sys.exit(1) | |
56 | cell.outputs = outputs |
|
56 | cell.outputs = outputs | |
57 | return cell, resources |
|
57 | return cell, resources | |
@@ -97,7 +97,7 b' class ExecutePreprocessor(Preprocessor):' | |||||
97 | out.evalue = content['evalue'] |
|
97 | out.evalue = content['evalue'] | |
98 | out.traceback = content['traceback'] |
|
98 | out.traceback = content['traceback'] | |
99 | else: |
|
99 | else: | |
100 |
|
|
100 | self.log.error("unhandled iopub msg: " + msg_type) | |
101 |
|
101 | |||
102 | outs.append(out) |
|
102 | outs.append(out) | |
103 | return outs |
|
103 | return outs |
General Comments 0
You need to be logged in to leave comments.
Login now