[chrome-devtools-frontend] Check error codes from curl and gsutil

Fix the cause of the issue I have encountered today: 'gsutil ls'
has terminated in the middle due to SSL connection timeout, which
resulted in an incomplete list of versions has been provided to
sort / head, and uploader started to re-upload old versions,
creating a considerable backlog.

TBR=pfeldman@chromium.org

Review URL: https://codereview.chromium.org/169623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/chrome-devtools-frontend@251669 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed
tree: 5c8ab537511ea0d7cef63876582f939bfc961b4f
  1. gae/
  2. gce/
  3. codereview.settings
  4. OWNERS
  5. WATCHLISTS