lib/jets/core.rb in jets-1.0.16 vs lib/jets/core.rb in jets-1.0.17

- old
+ new

@@ -172,6 +172,14 @@ def poly_only? return true if ENV['JETS_POLY_ONLY'] # bypass to allow rapid development of handlers Jets::Commands::Build.poly_only? end + + def report_exception(exception) + Jets::Turbine.subclasses.each do |subclass| + subclass.exception_reporters.each do |label, block| + block.call(exception) + end + end + end end