log each HTTP endpoint error separately so that it is clear which HTTP request causes an error