We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dca144 commit b157276Copy full SHA for b157276
lib/error_highlight/core_ext.rb
@@ -29,7 +29,7 @@ def to_s
29
30
spot = ErrorHighlight.spot(node, **opts)
31
32
- rescue Errno::ENOENT
+ rescue Errno::ENOENT, SyntaxError
33
end
34
35
if spot
0 commit comments