Skip to content

Commit

Permalink
Instantiation of SlackException requires argument 'message_data'
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k authored and lamby committed Aug 31, 2017
1 parent e1e0c2b commit d9d3fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_slack/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def validate(self, content_type, content, message_data):
raise klass(result['error'], message_data)

elif content != 'ok':
raise SlackException(content)
raise SlackException(content, message_data)


def get_backend(name=None):
Expand Down

0 comments on commit d9d3fa5

Please sign in to comment.