maubot / gitlab

A GitLab client and webhook receiver for maubot.
GNU Affero General Public License v3.0
96 stars 30 forks source link

"webhook add" fails to respond in case of invalid repository path #53

Open sumpfralle opened 3 years ago

sumpfralle commented 3 years ago

The following command fails to return:

!gitlab webhook add nonexistent/

Instead it should respond with an appropriate error message.

The bot emits a stacktrace caused by the following exception:

gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found