Skip to content

Commit 850f3a0

Browse files
author
ABaldwinHunter
committed
Remove error catch
We catch stderr farther upstream. Avoid overly large stderr output.
1 parent 67ab81e commit 850f3a0

File tree

1 file changed

+1
-7
lines changed
  • lib/cc/engine/analyzers/ruby

1 file changed

+1
-7
lines changed

lib/cc/engine/analyzers/ruby/main.rb

+1-7
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,8 @@ def process_file(file)
4343

4444
def process_erb(file)
4545
erb = File.read(file)
46-
4746
ruby = Erubis.new(erb).src
48-
begin
49-
RubyParser.new.process(ruby, file)
50-
rescue => e
51-
$stderr.puts ruby
52-
raise e
53-
end
47+
RubyParser.new.process(ruby, file)
5448
end
5549

5650
class Erubis < ::Erubis::Eruby

0 commit comments

Comments
 (0)