Fix a regression with writing "version" instead of "error" when update checks produce an error.
Fix a regression with writing "version" instead of "error" when update checks produce an error.

R=thomasvl@chromium.org,mark@chromium.org,ryanmyers@chromium.org
BUG=

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

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#386283}

axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk