mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Gitlab: improve error handling when initializing the Repository ID #352

Closed dregad closed 3 years ago

dregad commented 3 years ago

Currently, a generic Repository Name is invalid message is stored in hub_repoid when the Repository ID could not be retrieved from Gitlab API.

This can be misleading, as there are other error scenarios:

The system should provide a more specific error message, and warn the user that something went wrong (currently, an "Operation successful" banner is printed in all cases.