message: fix: make build fail on error
diff: @@ -54,13 +54,16 @@ jobs:
  - run:
  name: Test Browserstack
  command: |
  + set -o pipefail
  cd android && bundle exec fastlane browserstack | tee browserstack_output.log
  + error_code=$?
  SESSION_ID=$(cat browserstack_output.log | grep sessionId | head -n1 | sed -n "s/^.*'\(.*\)'.*$/\1/ p")
  echo "Session ID"
  echo $SESSION_ID
  VIDEO_URL=$(curl -s -u "$BROWSERSTACK_USER:$BROWSERSTACK_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/sessions/$SESSION_ID.json" | jq '.automation_session.video_url')
  echo "Video URL"
  echo $VIDEO_URL
  + exit $error_code
  build_android:
  docker:
  @@ -155,13 +158,16 @@ jobs:
  - run:
  name: Browserstack Testing
  command: |
  - cd ios && bundle exec fastlane browserstack
  + set -o pipefail
  + cd ios && bundle exec fastlane browserstack | tee browserstack_output.log
  + error_code=$?
  SESSION_ID=$(cat browserstack_output.log | grep sessionId | head -n1 | sed -n "s/^.*'\(.*\)'.*$/\1/ p")
  echo "Session ID"
  echo $SESSION_ID
  VIDEO_URL=$(curl -s -u "$BROWSERSTACK_USER:$BROWSERSTACK_ACCESS_KEY" -X GET "https://api-cloud.browserstack.com/app-automate/sessions/$SESSION_ID.json" | jq '.automation_session.video_url')
  echo "Video URL"
  echo $VIDEO_URL
  + exit $error_code
  no_output_timeout: 15m
  build_ios:
  