Skip to content

Commit

Permalink
Merge pull request Matthias247#64 from cognitree/abort-id-missing
Browse files Browse the repository at this point in the history
ID is missing in AbortMessage serialization
  • Loading branch information
Matthias247 committed Aug 26, 2015
2 parents 698afa8 + 55dcb0b commit 219be8e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public AbortMessage(ObjectNode details, String reason) {

public JsonNode toObjectArray(ObjectMapper mapper) throws WampError {
ArrayNode messageNode = mapper.createArrayNode();
messageNode.add(ID);
if (details != null)
messageNode.add(details);
else
Expand Down

0 comments on commit 219be8e

Please sign in to comment.