fastlane/lib/fastlane/runner.rb in fastlane-2.32.0.beta.20170518010031 vs fastlane/lib/fastlane/runner.rb in fastlane-2.32.0
- old
+ new
@@ -250,12 +250,12 @@
class_ref.runner = self # needed to call another action form an action
class_ref.run(arguments)
end
end
- rescue \
- FastlaneCore::Interface::FastlaneBuildFailure, # build_failure!
- FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
+ rescue Interrupt => e
+ 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)
raise e