Commit 6e04c32
authored
Bubble up more descriptive logs from GitHub when enqueuing a PR fails. (#5017)
GitHub does provide useful and descriptive messages when there is some issue with enqueuing the PR into the merge queue. Unfortunately, right now we're just saying `400 GraphQL mutate failed` which doesn't help the user figure out how to unblock their PR. This change adds the info from the GitHub response in to the message.1 parent f20d3ad commit 6e04c32
2 files changed
Lines changed: 31 additions & 4 deletions
File tree
- auto_submit
- lib/service
- test/service
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
67 | 77 | | |
68 | 78 | | |
69 | 79 | | |
70 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
71 | 91 | | |
72 | 92 | | |
73 | 93 | | |
| |||
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
631 | 638 | | |
632 | 639 | | |
633 | 640 | | |
| |||
648 | 655 | | |
649 | 656 | | |
650 | 657 | | |
651 | | - | |
| 658 | + | |
652 | 659 | | |
653 | 660 | | |
654 | 661 | | |
| |||
0 commit comments