throw exception on invalid message recieved
fixed wrong exception and space issues
checking for request content that has failed to decode before throwing exception. If no request content then continue to do nothing which seems sensible
refactored this to be a bit tidier and more efficient
auto format to teh rescue
tests now passing locally
added documentation and fixed typo in exception message
Merge pull request #590 from edmondscommerce/master

throw exception on invalid message recieved