This commit is contained in:
Yusuke Endoh 2021-12-19 04:13:14 +09:00
parent 6a51c3e80c
commit 52b1c76534

View File

@ -29,7 +29,9 @@ module ErrorHighlight
spot = ErrorHighlight.spot(node, **opts)
rescue SystemCallError, SyntaxError, ArgumentError
rescue SyntaxError
rescue SystemCallError # file not found or something
rescue ArgumentError # eval'ed code
end
if spot