Descriptiondownload_sdk_extras: Catch the correct error.
Catch the error raised by 'check_call' rather than the error emitted by
the called process.
BUG=chromium:460693, chromium:459681
TEST=local
- Ran without fix, setting CHROME_HEADLESS=1. Script failed with the exception
in the bug.
- Ran with fix, 'gsutil' failed with AccessDeniedException output
and the calling script successfully emitted a warning message.
R=hinoka@chromium.org, navabi@chromium.org
Review URL: https://codereview.chromium.org/949813002
Cr-Commit-Position: refs/heads/master@{#317608}
(cherry picked from commit 63ab4fead51b043cb1f21ae2b31f9e593cbdc3ca)
Committed: https://chromium.googlesource.com/chromium/src/+/52e1248a93618e54a6c2be92360a9b47a0b823e4
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|