Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mr approve/unapprove: Provide better error messages
When I attempt to approve or unapprove on a Project that I don't have approve permissions for, I get the following error: 2021/02/10 10:58:17 mr_approve.go:56: POST https://gitlab.com/api/v4/projects/XXXX/merge_requests/208/approve: 403 {message: 403 Forbidden} Provide a better error message in this case. Signed-off-by: Prarit Bhargava <[email protected]>
- Loading branch information