Skip to content

Commit 4d11843

Browse files
author
Gauvain Pocentek
committed
add missing raise keywork
1 parent 0dd1ede commit 4d11843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def rawPost(self, path, data):
9292
try:
9393
r = requests.post(url, data)
9494
except:
95-
GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
95+
raise GitlabConnectionError('Can\'t connect to GitLab server (%s)'%self.url)
9696

9797
return r
9898

0 commit comments

Comments
 (0)