better error message for an unmapped message type
Merge pull request #1055 from SimonCropp/messageRegistryFailure

better error message for an unmapped message type