Skip to content

Commit

Permalink
Merge pull request #25 from elyobo/correct-error-logging
Browse files Browse the repository at this point in the history
Log parsed error not non-existent response.error field.
  • Loading branch information
peter78 authored Sep 30, 2016
2 parents 830abab + a1ef418 commit b6e0e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ function callSendAPI(messageData) {
recipientId);
}
} else {
console.error(response.error);
console.error("Failed calling Send API", response.statusCode, response.statusMessage, body.error);
}
});
}
Expand Down

0 comments on commit b6e0e5b

Please sign in to comment.