We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3288f0d commit dc46529Copy full SHA for dc46529
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, SyntaxError
+ rescue SystemCallError, SyntaxError
33
end
34
35
if spot
0 commit comments