Skip to content

Commit ccf2965

Browse files
committed
chore: add error logging for missing keys in response
1 parent 7c7c791 commit ccf2965

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Stream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def start(self, title, category, audience_type='0'):
3131
self.id = response["id"]
3232
return response["rtmp"], response["key"]
3333
except KeyError:
34+
print("Error: ", response)
3435
return None, None
3536

3637
def end(self):

0 commit comments

Comments
 (0)