Page MenuHomePhabricator

MultiHttpClient doesn't return any useful error information
Closed, ResolvedPublic


I'm using MultiHttpClient from the libs directory to do multiple requests in parallel. When requests fail I want to know the reason. So far the only information I have been getting out of it is error code 0 with no further explanation. Docs say that it means serious curl error, but how in earth am I supposed to debug this? This is the serialized response:

Event Timeline

Nikerabbit raised the priority of this task from to Needs Triage.
Nikerabbit updated the task description. (Show Details)
Nikerabbit added a subscriber: Nikerabbit.
Nemo_bis set Security to None.
Nemo_bis added a subscriber: aaron.

We ran into this while making ParsoidVRS.

Change 210664 had a related patch set uploaded (by Nikerabbit):
Fix MultiHttpClient to return correct errors

Change 210664 merged by jenkins-bot:
Fix MultiHttpClient to return correct errors