Error when entering an invalid URL on 'Mirroring repositories'
Summary
On repository settings, when entering an invalid URL on "Git repository URL" and clicking "Mirror Repository" after that, GitLab returns a 500
Steps to reproduce
- Go to Settings -> Repository
- Expand "Mirroring repositories"
- Add an invalid URL like
http://192.168.10.1:1op/test.git
- Click on "Mirror Repository"
What is the current bug behavior?
Gitlab.com returns a 500 error
What is the expected correct behavior?
Return a proper error message
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com