fastlane/lib/fastlane/runner.rb in fastlane-2.31.0.beta.20170517010031 vs fastlane/lib/fastlane/runner.rb in fastlane-2.31.0
- old
+ new
@@ -255,17 +255,16 @@
rescue \
FastlaneCore::Interface::FastlaneBuildFailure, # build_failure!
FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
raise e
rescue FastlaneCore::Interface::FastlaneError => e # user_error!
- FastlaneCore::CrashReporter.report_crash(type: :user_error, exception: e, action: method_sym)
+ FastlaneCore::CrashReporter.report_crash(exception: e, action: method_sym)
collector.did_raise_error(method_sym)
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
- type = e.kind_of?(FastlaneCore::Interface::FastlaneCrash) ? :crash : :exception
- FastlaneCore::CrashReporter.report_crash(type: type, exception: e, action: method_sym)
+ FastlaneCore::CrashReporter.report_crash(exception: e, action: method_sym)
collector.did_crash(method_sym)
raise e
end
end