Module: RecipeScrapers::ErrorTracker
- Defined in:
- lib/recipe_scrapers/error_tracker.rb
Overview
The default Configuration#error_tracker. It raises the error again, so a failing parser is never swallowed. An application replaces it with anything that answers call(error), such as a lambda that reports to its error service and returns.
Class Method Summary collapse
Class Method Details
.call(exception) ⇒ Object
10 11 12 |
# File 'lib/recipe_scrapers/error_tracker.rb', line 10 def self.call(exception) raise exception end |