Manually sync d2140d795a
This commit is contained in:
parent
6a51c3e80c
commit
52b1c76534
@ -29,7 +29,9 @@ module ErrorHighlight
|
|||||||
|
|
||||||
spot = ErrorHighlight.spot(node, **opts)
|
spot = ErrorHighlight.spot(node, **opts)
|
||||||
|
|
||||||
rescue SystemCallError, SyntaxError, ArgumentError
|
rescue SyntaxError
|
||||||
|
rescue SystemCallError # file not found or something
|
||||||
|
rescue ArgumentError # eval'ed code
|
||||||
end
|
end
|
||||||
|
|
||||||
if spot
|
if spot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user