Skip to content

Commit 7f9914b

Browse files
rashedmytPrabhakar Kumar
authored andcommitted
Updates MATLAB Kernel Errors to include MATLAB stack information.
1 parent 6adacba commit 7f9914b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jupyter_matlab_kernel/matlab/processJupyterKernelRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
% have missed an edge case, catch the exception and send it to the user.
6565
errorMessage.type = 'stream';
6666
errorMessage.content.name = 'stderr';
67-
errorMessage.content.text = ['MATLAB Kernel Error: ' ME.message];
67+
errorMessage.content.text = sprintf('MATLAB Kernel Error:\n%s', getReport(ME));
6868
output = {errorMessage};
6969
end
7070

0 commit comments

Comments
 (0)