HomePhabricator

Log errors in Http::request()

Authored by Tgr.

Description

Log errors in Http::request()

Instead of silently discarding errors in server-side HTTP requests,
log them to a 'http' channel.

Make ForeignAPIFile::httpGet() (which sort of reimplements Http::get())
log to the same channel, for consistency.

Bug: T103043
Change-Id: Ibf552e22adc7fde4a751f92e92dad6ceba2f335c
(cherry picked from commit 64446397925576210c50baedc77becb470df84e2)

Details