mirror of
https://github.com/zeldaret/tp
synced 2026-08-13 20:24:57 -04:00
Assignees (#1876)
* checkpoint * finish adding assignee support * test * use test command * use test command * skip build check * add state to common options, move version check * cleanup ok-check * undo dylink change
This commit is contained in:
@@ -56,5 +56,14 @@ class GraphQLClient:
|
||||
else:
|
||||
LOG.error(f"Fail. Error: {error_message}")
|
||||
return None
|
||||
|
||||
if data.get('extensions', ''):
|
||||
warning_message = data['extensions']['warnings'][0]['message']
|
||||
LOG.warning(warning_message)
|
||||
|
||||
if 'Bad credentials' in data.get('message', ''):
|
||||
LOG.error(data['message'])
|
||||
LOG.error('Invalid personal access token. Please provide a valid one with the --personal-access-token flag.')
|
||||
sys.exit(1)
|
||||
|
||||
return data
|
||||
Reference in New Issue
Block a user