Skip to content

Commit 5328705

Browse files
committed
limit=true for error output (fixes #974)
1 parent 2300ab9 commit 5328705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function error_content(e, bt=catch_backtrace();
159159
evalue = try
160160
# Peel away one LoadError layer that comes from running include_string on the cell
161161
isa(e, LoadError) && (e = e.error)
162-
sprint((io, e, bt) -> invokelatest(showerror_nobt, io, e, bt), e, bt)
162+
sprint((io, e, bt) -> invokelatest(showerror_nobt, io, e, bt), e, bt; context=:limit=>true)
163163
catch
164164
"SYSTEM: show(lasterr) caused an error"
165165
end

0 commit comments

Comments
 (0)