Commit 8d84592
committed
fix(ng-dev): properly catch github API errors and print clean output (#877)
Currently when e.g. GitHub API merge fails with a 405 error, the whole
output is printed. This is super spammy and the actual GitHub error
message is not easy to spot. This fixes it by also catching non-403
GitHub API errors and printing them.
PR Close #8771 parent 8a9577a commit 8d84592
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
64 | 68 | | |
65 | 69 | | |
66 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
0 commit comments