Display of exception stacks could be better #31257
Labels
display and printing
Aesthetics and correctness of printed representations of objects.
error handling
Handling of exceptions by Julia or the user
To me the new exception stack printing (#30900) is not so clear, compare with e.g. this reduced example:
which displays on master as
and on Julia 1 as
I have two problems with the new printing:
From the output on master it took me quite a while to understand that the
hello
output actually came from theERROR:
two lines above. IMO it was more clear before what the error was, and I suggest this should be printed asinstead. It seems more important to print the message before the location.
When seeing
caused by [exception 1]
I would expect a list of exceptions somewhere where I can look up whatexception 1
is. What isexception 1
in the case above? It is not clear to me.The text was updated successfully, but these errors were encountered: