Skip to content

Handling missing 'people' key and error messages in API response#556

Open
MattSilverio wants to merge 1 commit intomxrch:masterfrom
MattSilverio:master
Open

Handling missing 'people' key and error messages in API response#556
MattSilverio wants to merge 1 commit intomxrch:masterfrom
MattSilverio:master

Conversation

@MattSilverio
Copy link
Copy Markdown

Scenario:

ghunt email example@gmail.com

...

peoplepa.py", line 120, in people_lookup
person_data = list(data["people"].values())[0]
~~~~^^^^^^^^^^
KeyError: 'people'

Now:
[-] Request Error: {messages}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant