summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab.py b/gitlab.py
index aaf2ddd..76f610b 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -227,6 +227,8 @@ class Gitlab(object):
return True
elif r.status_code == 401:
raise GitlabAuthenticationError(r.json()['message'])
+ else:
+ raise GitlabDeleteError(r.json()['message'])
return False
def create(self, obj):