gym/README.md in fastlane-2.14.2 vs gym/README.md in fastlane-2.15.0.beta.20170213032052

- old
+ new

@@ -190,10 +190,24 @@ lane :beta do scan gym(scheme: "MyApp") crashlytics end + +# error block is executed when a error occurs +error do |lane, exception| + slack( + # message with short human friendly message + message: exception.to_s, + success: false, + # Output containing extended log output + payload: { "Output" => exception.error_info.to_s } + ) +end ``` + +When gym raises an error the `error_info` property will contain the process output +in case you want to display the error in 3rd party tools such as Slack. You can then easily switch between the beta provider (e.g. `testflight`, `hockey`, `s3` and more). For more information visit the [fastlane GitHub page](https://github.com/fastlane/fastlane/tree/master/fastlane).