Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 40f357f8 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Raise ValueError instead of generic exception

parent 0d6ffbdd
......@@ -215,7 +215,7 @@ class Client:
if 'umichgroup' in r.json()['group'][0]['objectClass']:
self.group_data = r.json()['group'][0]
raise Exception('{} is not a group. Got [{}]'.format(
raise ValueError('{} is not a group. Got [{}]'.format(
', '.join(r.json()['group'][0]['objectClass'])
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