Skip to content
This repository was archived by the owner on Nov 19, 2017. It is now read-only.

Conversation

@intellisense
Copy link

@intellisense intellisense commented Mar 7, 2017

In consumers.py > ws_receive - line 56 if exception occurred the log is using text variable which is undefined we need to use message['text'] instead.

    try:
        data = json.loads(message['text'])
    except ValueError:
        log.debug("ws message isn't json text=%s", text)  #<-- we need to use message['text'] here
        return

@intellisense
Copy link
Author

Oops! didn't saw there is already a PR #10 so closing this one. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant