Commit 9a88b115 authored by Henrik Skov Midtiby's avatar Henrik Skov Midtiby

Show information about the gitlab server when verifying a connection.

parent 14831929
......@@ -28,6 +28,7 @@ class GitlabClassHelper:
print('Initialized connection to gitlab instance.')
print('%s' % url)
print('Personal access token works.')
except simplejson.errors.JSONDecodeError:
raise requests.HTTPError('Bad request. Possible the url is wrong.')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment