Skip to content

Commit 371a7cf

Browse files
committed
Merge pull request #62 from codeclimate/will/catch-parse-error
Catch RubyParser exceptions
2 parents 182ecf2 + c060bbd commit 371a7cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cc/engine/analyzers/analyzer_base.rb

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class Base
88
::CC::Engine::Analyzers::ParserError,
99
::Errno::ENOENT,
1010
::Racc::ParseError,
11+
::RubyParser::SyntaxError,
1112
]
1213

1314
def initialize(engine_config:)

0 commit comments

Comments
 (0)