Skip to content

Commit

Permalink
Update errors.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Dec 15, 2024
1 parent 7c0823f commit 95c3fcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ end

function Base.showerror(io::IO, ece::IllegalFirstPointerException)
print(io, "Enzyme compilation failed due to an internal error (first pointer exception).\n")
print(io, " Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl")
print(io, " Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl\n")
print(io, " To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false)\n")
if VERBOSE_ERRORS[]
if ece.ir !== nothing
Expand All @@ -102,7 +102,7 @@ end

function Base.showerror(io::IO, ece::EnzymeInternalError)
print(io, "Enzyme compilation failed due to an internal error.\n")
print(io, " Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl")
print(io, " Please open an issue with the code to reproduce and full error log on github.com/EnzymeAD/Enzyme.jl\n")
print(io, " To toggle more information for debugging (needed for bug reports), set Enzyme.Compiler.VERBOSE_ERRORS[] = true (default false)\n")
if VERBOSE_ERRORS[]
if ece.ir !== nothing
Expand Down

0 comments on commit 95c3fcc

Please sign in to comment.