Make error logic in chromium a bit more robust.
Make error logic in chromium a bit more robust.

R=machenbach@chromium.org, phajdan.jr@chromium.org
BUG=

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

git-svn-id: 239fca9b83025a0b6f823aeeca02ba5be3d9fd76@286218 0039d316-1c4b-4281-b951-d872f2087c98

eunchong/build,eunchong/build,eunchong/build,eunchong/build