Added message to onError() example, fixes #122

This commit is contained in:
Emiel Bruijntjes 2017-05-17 09:22:24 +02:00 committed by GitHub
parent b2877434cf
commit 399d78dfe5
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ channel.commitTransaction()
.onSuccess([]() {
// all messages were successfully published
})
.onError([]() {
.onError([](const char *message) {
// none of the messages were published
// now we have to do it all over again
});