log: simplify httpLogError helper
Created by: jhchabran
Following-up on a post-merge comment from https://github.com/sourcegraph/sourcegraph/pull/41332/files
Test plan
CI is green.
Created by: jhchabran
Following-up on a post-merge comment from https://github.com/sourcegraph/sourcegraph/pull/41332/files
CI is green.