If for any reason the rescue block in line 92 is executed the logger is not defined and it will throw an error:
NameError at /search.json undefined local variable or method `logger' for #
Ruby /usr/lib/ruby/gems/2.3.0/gems/middleman-search-0.6.0/lib/middleman-search/search-index-resource.rb: in rescue in block in build_index, line 92
If for any reason the rescue block in line 92 is executed the logger is not defined and it will throw an error:
NameError at /search.json undefined local variable or method `logger' for #
Ruby /usr/lib/ruby/gems/2.3.0/gems/middleman-search-0.6.0/lib/middleman-search/search-index-resource.rb: in rescue in block in build_index, line 92