internal/httpcli: add unit test for logging middleware error scenario
Created by: bobheadxi
Adds a retroactive unit test for the failure fixed in https://github.com/sourcegraph/sourcegraph/pull/41059
Test plan
unit tests pass
Created by: bobheadxi
Adds a retroactive unit test for the failure fixed in https://github.com/sourcegraph/sourcegraph/pull/41059
unit tests pass