Skip to content
New issue

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

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

Already on GitHub? # to your account

#1574 - Update Recipe Definition Message Not Added to Message Factory #1577

Merged
merged 3 commits into from
Apr 12, 2019

Conversation

JohnPTobe
Copy link

Checklist
  • manage.py test passes

Affected app(s)

  • messaging
  • product
  • recipe
  • storage

Description of change

Fixes for #1571 and #1574

@@ -101,7 +101,7 @@ def _extract_command(message):

return message_class.from_json(message_body)
except KeyError as ex:
raise_from(InvalidCommandMessage('No message type handler available.'), ex)
raise_from(InvalidCommandMessage('No message type handler available for message type %s' % message['type']), ex)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea for more specific error messages! 👍

Copy link
Contributor

@emimaesmith emimaesmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JohnPTobe JohnPTobe merged commit 15c2e22 into master Apr 12, 2019
@JohnPTobe JohnPTobe deleted the 1574-BatchBugs branch April 12, 2019 20:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants