Nicolas Dumazet ha scritto:
>> + output(u'Remote
site has a problem, it probably ' \
>> + 'exited our query with an internal Error. '
>> + 'Sleeping for %d seconds...' %
> "error". I think it would be preferable to print a more generic message
> about an invalid/unexpected data received from server.
I wish there was a way to extract the error that the
server returned :/
"Invalid data received from server" then ?
What about the next line "Got incorrect export page. " ? It's no so
meaningful, and the two messages could probably be merged together.
"Received incomplete XML data"? Looks better of repeating the same error
message printed when '<siteinfo>' isn't found.
«Non dee l'uomo, per maggiore amico, dimenticare li servigi ricevuti dal
minore». (Dante Alighieri, Convivio, II, 65)