mirror of
https://github.com/odoo/runbot.git
synced 2025-03-19 17:35:45 +07:00
![]() When a staging's fast-forward (to the target branch) fails, the mergebot would provide no useful information on the staging or the dashboard. This is because the reason was set to the HTTP status, which in case of a fast-forward error is just "422 client error: unprocessable entity". Improve this by trying to parse github's response in that case, and using the JSON error message as failure reason. This provides more useful failure information like "update is not a fast forward", "reference does not exist", or a branch protection failure. Closes #591 |
||
---|---|---|
.. | ||
utils.py |