1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
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