debug text in logs
This commit is contained in:
@@ -20,6 +20,11 @@ class ListenerManager:
|
||||
print(f"Listener for user {user.id} is already running.")
|
||||
return
|
||||
|
||||
# Guard Clause: Ensure the user has a valid platform ID required by twitchio.
|
||||
if not user.platform_user_id:
|
||||
print(f"ERROR: Cannot start listener for user {user.id}. Missing platform_user_id.")
|
||||
return
|
||||
|
||||
print(f"Starting listener for user {user.id} ({user.username})...")
|
||||
|
||||
tokens = security.decrypt_tokens(user.encrypted_tokens)
|
||||
|
||||
Reference in New Issue
Block a user