Skip to content

Commit ff670b5

Browse files
Lilith HafnerLilith Hafner
authored andcommitted
add a "not your falut" hint to the fallback to flisp error
1 parent ca2b8e3 commit ff670b5

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!\n"*
259+
"This is probably not your fault, please submit a bug report (https://github.com/JuliaLang/JuliaSyntax.jl/issues)",
259260
exception=(exc,catch_backtrace()),
260261
offset=offset,
261262
code=code)

0 commit comments

Comments
 (0)