Skip to content

Problem handling "Yes" #12

Description

@LetThereBeDwight

Doesn't occur with no, but if you type yes, unprompted by an emergency, you get a stack trace and a different message than "I don't know how to handle that"

`[isEmergency] I had a problem handling "yes"

  File "/usr/local/lib/python2.7/site-packages/slackbot/dispatcher.py", line 55, in _dispatch_msg_handler
    func(Message(self._client, msg), *args)
  File "/app/bot/plugins.py", line 73, in isEmergency
    targetUserId = g_emergencies[requestingUser['id']]
KeyError: u'U2U75B25T'
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions