Skip to content

Commit e638599

Browse files
committed
Improve feedback of errors
1 parent 556bee0 commit e638599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FactCheck.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ end
114114

115115
function Base.show(io::IO, e::Error)
116116
println(io, "\n<IT::>", replace_lf(e.meta.msg != nothing ? "$(e.meta.msg)" : format_fact(e.expr)))
117-
println(io, "\n<ERROR::>Test Errored")
118-
println(io, "\n<LOG::Stack trace>", replace_lf(sprint(showerror, e.err, e.backtrace)))
117+
println(io, "\n<ERROR::>", replace_lf(sprint(showerror, e.err)))
118+
println(io, "\n<LOG::-Stack trace>", replace_lf(sprint(showerror, e.err, e.backtrace)))
119119
println(io, "\n<COMPLETEDIN::>")
120120
end
121121

0 commit comments

Comments
 (0)