fastlane/lib/fastlane/runner.rb in fastlane-2.36.0.beta.20170530010040 vs fastlane/lib/fastlane/runner.rb in fastlane-2.36.0.beta.20170531010050

- old
+ new

@@ -256,16 +256,16 @@ raise e # reraise the interruption to avoid logging this as a crash rescue FastlaneCore::Interface::FastlaneCommonException => e # these are exceptions that we dont count as crashes raise e rescue FastlaneCore::Interface::FastlaneError => e # user_error! FastlaneCore::CrashReporter.report_crash(exception: e, action: method_sym) - collector.did_raise_error(method_sym) + collector.did_raise_error(method_sym) if e.fastlane_should_report_metrics? raise e rescue Exception => e # rubocop:disable Lint/RescueException # high chance this is actually FastlaneCore::Interface::FastlaneCrash, but can be anything else # Catches all exceptions, since some plugins might use system exits to get out FastlaneCore::CrashReporter.report_crash(exception: e, action: method_sym) - collector.did_crash(method_sym) + collector.did_crash(method_sym) if e.fastlane_should_report_metrics? raise e end end def execute_flow_block(block, current_platform, lane, parameters)