Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archived channel standup exception #2

Open
com4 opened this issue Jul 12, 2017 · 0 comments
Open

Archived channel standup exception #2

com4 opened this issue Jul 12, 2017 · 0 comments

Comments

@com4
Copy link
Owner

com4 commented Jul 12, 2017

2017-07-12 10:00:00,001 [INFO] StandUpPlugin: Executing standup for channel #data_arch      
2017-07-12 10:00:00,001 [INFO] StandUpPlugin: Executing standup for channel #warmachine-dev                                                                                                                                                                                                                                                                                                                                                                                                                               
2017-07-12 10:00:00,002 [DEBUG] SlackWS: Gathering list of users for channel G3NCGRNLV from: https://slack.com/api/groups.info?channel=G3NCGRNLV&token=xoxb-#######################                                                                                                              
2017-07-12 10:00:00,119 [ERROR] asyncio: Task exception was never retrieved
future: <Task finished coro=<StandUpPlugin.start_standup() done, defined at /home/com4/warmachine-ng/warmachine/addons/standup.py:307> exception=KeyError('group',)>                                                                                                                                          
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/com4/warmachine-ng/warmachine/addons/standup.py", line 312, in start_standup                                                                                                                                                                                                                    
    users = connection.get_users_by_channel(channel)
  File "/home/com4/warmachine-ng/warmachine/connections/slack.py", line 340, in get_users_by_channel
    for u_id in r[key]['members']:
KeyError: 'group'

Exception occurs when a standup is scheduled for an archived channel?

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

No branches or pull requests

1 participant