Skip to content

[REPL] handle failure of edit call gracefully#43690

Merged
vtjnash merged 1 commit intomasterfrom
jn/REPL-edit-error
Jan 10, 2022
Merged

[REPL] handle failure of edit call gracefully#43690
vtjnash merged 1 commit intomasterfrom
jn/REPL-edit-error

Conversation

@vtjnash
Copy link
Copy Markdown
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