summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorXiaochu Liu <xiaochu@chromium.org>2019-04-10 10:49:08 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-05-07 17:22:38 -0700
commit4a1173a313c176f167bee5c2d23d34d04e0c6fd7 (patch)
tree5302d861a12be5f32d7f8b6785f3ce4df22e1844 /scripts/update_payload/format_utils_unittest.py
parent000c7624d1d5da27d799a6dcde8456b95f3ece91 (diff)
update_engine: add logs and metrics for libcurl errors
curl_multi_perform may return code that is neither CURLM_OK or CURLM_CALL_MULTI_PERFORM. When error returns we log them in update_engine.log and send UMA metrics. When update_engine does not get http response code from libcurl, we log internal error code of the libcurl transfer for diagnosis. Chrome CL to add the metrics enum is here: https://chromium-review.googlesource.com/c/chromium/src/+/1566150 BUG=chromium:927039 TEST=unittest Change-Id: Ie8ce9dc0a6ce5ff6ffc2ff9425b652d125518558 Reviewed-on: https://chromium-review.googlesource.com/1562172 Commit-Ready: Sean Abraham <seanabraham@chromium.org> Tested-by: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by: Xiaochu Liu <xiaochu@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions