← Back to team overview

launchpad-dev team mailing list archive

Re: Strange error from web service

 

On Fri, Nov 19, 2010 at 2:21 PM, James Westby <jw+debian@xxxxxxxxxxxxxxx> wrote:
...
> My guess is that the response was truncated. This is not unusual in
> launchpadlib interactions, but I don't remember seeing that particular
> error previously. I would recommend defensive coding, but unfortunately
> between each of the different layers involved there are many exceptions
> to catch.
>

Thanks.

> lazr.restfulclient now has some retry support, so you may also want to
> contribute a branch to that to also retry on this error.
>

Too much WIP right now. I've filed
https://bugs.launchpad.net/lazr.restfulclient/+bug/677557 and may well
get around to it in season.

jml



References