Skip to content

Commit b941fc0

Browse files
authored
Merge pull request #358 from JuliaLang/lh/flisp-fallback-hint
Add a "not your fault" hint to the fallback to flisp error
2 parents 3621603 + e621db4 commit b941fc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hooks.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ function core_parser_hook(code, filename::String, lineno::Int, offset::Int, opti
255255
#-#-#-
256256
""")
257257
end
258-
@error("JuliaSyntax parser failed — falling back to flisp!",
258+
@error("""JuliaSyntax parser failed — falling back to flisp!
259+
This is not your fault. Please submit a bug report to https://github.com/JuliaLang/JuliaSyntax.jl/issues""",
259260
exception=(exc,catch_backtrace()),
260261
offset=offset,
261262
code=code)

0 commit comments

Comments
 (0)