[telemetry] Catch new Cloud Storage error type.
commit01a51f1a20b1842151f7c287f1d0eaabe75b4363
authordtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Feb 2014 21:39:40 +0000 (6 21:39 +0000)
committerdtu@chromium.org <dtu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 6 Feb 2014 21:39:40 +0000 (6 21:39 +0000)
tree85c41fe5d99d9add2bb6be0c663c5af9c5c28ed7
parent8bbd9d44fd0aa176bcb047cd37ef220a78654e48
[telemetry] Catch new Cloud Storage error type.

Now that we support prodaccess authentication, gsutil can spew a different kind of error string. We should catch that and convert it to a CredentialsError.

BUG=340449
TEST=prodaccess --lifetime 1; sleep 1; tools/perf/run_benchmark --browser=list  # Should throw a CredentialsError if you have an android device plugged in.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249508 0039d316-1c4b-4281-b951-d872f2087c98
tools/telemetry/telemetry/page/cloud_storage.py