Skip to content

Commit

Permalink
use existing function to display errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Doris committed Oct 22, 2023
1 parent a41375c commit 21eb33a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PkgREPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,7 @@ function run(args)
end
end
catch err
printstyled(stderr, "ERROR: ", color=:light_red)
showerror(stderr, err)
println(stderr)
Base.display_error(err)
end
end

Expand Down

0 comments on commit 21eb33a

Please sign in to comment.