Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REPL] handle failure of edit call gracefully #43690

Merged
merged 1 commit into from
Jan 10, 2022
Merged

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Jan 6, 2022

For example:

julia> ENV["EDITOR"] = "broken"
"broken"

julia> 1^Q┌ Info: edit failed
└   _exception = IOError: could not spawn `broken /data/vtjnash/julia1/usr/share/julia/base/special/trig.jl`: no such file or directory (ENOENT)
julia> 

(instead of printing a full stack-trace)

@vtjnash vtjnash added the REPL Julia's REPL (Read Eval Print Loop) label Jan 6, 2022
@vtjnash vtjnash merged commit 5686038 into master Jan 10, 2022
@vtjnash vtjnash deleted the jn/REPL-edit-error branch January 10, 2022 14:21
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant