Skip to content

Commit 1bea9d9

Browse files
Yue SheChromium LUCI CQ
authored andcommitted
add more exception logging when failing to install xcode
Bug: 370036129 Change-Id: I11597bc56f91e6c19e9c7971beef57e6dba616d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5925758 Commit-Queue: Yue She <yueshe@google.com> Reviewed-by: Zhaoyang Li <zhaoyangli@chromium.org> Cr-Commit-Position: refs/heads/main@{#1367808}
1 parent 63abfc8 commit 1bea9d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ios/build/bots/scripts/xcode_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import shutil
1111
import subprocess
1212
import sys
13+
import traceback
1314

1415
import iossim_util
1516
import mac_util
@@ -551,6 +552,7 @@ def install_xcode(mac_toolchain_cmd, xcode_build_version, xcode_path,
551552
except subprocess.CalledProcessError as e:
552553
# Flush buffers to ensure correct output ordering.
553554
sys.stdout.flush()
555+
sys.stderr.write(traceback.format_exc())
554556
sys.stderr.write('Xcode build version %s failed to install: %s\n' %
555557
(xcode_build_version, e))
556558
sys.stderr.flush()

0 commit comments

Comments
 (0)