runbot/forwardport/models
Xavier Morel ca2742a12c [IMP] forwardport: error handling when creating PR
Don't try to parse the response as JSON in the error case(s): if the
errors are bad enough github can return complete non-parseable
garbage.

Only access the "text" property (response body, decoded, but unparsed)
in error cases, only parse in the success case.

Also avoid reusing variables for completely different values, even if
they're of the same type, especially if they can overlap.

fixes #470
2021-08-24 15:39:47 +02:00
..
__init__.py [ADD] forwardbot 2019-09-05 10:00:07 +02:00
forwardport.py [IMP] forwardport: handling of updates causing conflicts on followups 2021-08-24 15:39:47 +02:00
project.py [IMP] forwardport: error handling when creating PR 2021-08-24 15:39:47 +02:00