summaryrefslogtreecommitdiff
path: root/gitlab.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab.py')
-rw-r--r--gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab.py b/gitlab.py
index 8de712c..a02700b 100644
--- a/gitlab.py
+++ b/gitlab.py
@@ -92,7 +92,7 @@ class Gitlab(object):
try:
r = requests.post(url, data)
except:
- GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
+ raise GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
return r