We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954619c commit 865dfa6Copy full SHA for 865dfa6
matlab_kernel/kernel.py
@@ -257,7 +257,7 @@ def _execute_async(self, code):
257
except (SyntaxError, MatlabExecutionError, KeyboardInterrupt) as exc:
258
pass
259
#stdout = exc.args[0]
260
- #return ExceptionWrapper("Error", "-1", stdout)
+ #return ExceptionWrapper("Error", -1, stdout)
261
262
def _execute_sync(self, code):
263
out = StringIO()
@@ -269,7 +269,7 @@ def _execute_sync(self, code):
269
except (SyntaxError, MatlabExecutionError) as exc:
270
stdout = exc.args[0]
271
self.Error(stdout)
272
- return ExceptionWrapper("Error", "-1", stdout)
+ return ExceptionWrapper("Error", -1, stdout)
273
stdout = out.getvalue()
274
self.Print(stdout)
275
0 commit comments