Skip to content

Commit

Permalink
Remove backtrace entirely in shell mode (#42867)
Browse files Browse the repository at this point in the history
  • Loading branch information
BioTurboNick authored Aug 30, 2022
1 parent fd6b485 commit d1706d4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,15 @@ function repl_cmd(cmd, out)
end
cmd = `$shell -c $shell_escape_cmd`
end
run(ignorestatus(cmd))
try
run(ignorestatus(cmd))
catch
# Windows doesn't shell out right now (complex issue), so Julia tries to run the program itself
# Julia throws an exception if it can't find the program, but the stack trace isn't useful
lasterr = current_exceptions()
lasterr = ExceptionStack([(exception = e[1], backtrace = [] ) for e in lasterr])
invokelatest(display_error, lasterr)
end
end
nothing
end
Expand Down

2 comments on commit d1706d4

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

Please sign in to comment.