[Reportbug-maint] Bug#878088: Bug#878088: reportbug: please inform security and lts teams about security update regressions

Markus Koschany apo at debian.org
Mon Jan 29 12:34:51 UTC 2018


>> This will not catch 404 or similar http status codes. If you don't care
>> about the type of error you can just do …
>>
>>                            r.raise_for_status()

Ok, got it. So adding r.raise_for_status() below the request line should
be sufficient because requests.exceptions.RequestException would also
catch this.

Thanks

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20180129/b07bfdd3/attachment.sig>


More information about the Reportbug-maint mailing list