diff options
-rw-r--r-- | lib/error_highlight/core_ext.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error_highlight/core_ext.rb b/lib/error_highlight/core_ext.rb index d8d2175f8a..1e91debc0c 100644 --- a/lib/error_highlight/core_ext.rb +++ b/lib/error_highlight/core_ext.rb @@ -29,7 +29,7 @@ module ErrorHighlight spot = ErrorHighlight.spot(node, **opts) - rescue Errno::ENOENT + rescue Errno::ENOENT, SyntaxError end if spot |