Empty error displayed in the UI when enabling a project runner while project runner registration is disabled
Summary
When Members of the project can register runners
is disabled, attempting to enable a project runner for a different project returns an empty error in the UI.
Related:
Steps to reproduce
- Create a project runner
- Disable Members of the project can register runners at the instance level
- As a group Maintainer/Owner (Non-Admin), enable the project runner for a different project
- Observe the empty error alert
What is the current bug behavior?
- An empty error alert is displayed
What is the expected correct behavior?
- The expected error is surfaced.
Relevant logs and/or screenshots
Possible fixes
Surface the ServiceResponse errors here:
Edited by Jiovanni Castillo