Added message to onError() example, fixes #122
This commit is contained in:
parent
b2877434cf
commit
399d78dfe5
|
|
@ -768,7 +768,7 @@ channel.commitTransaction()
|
||||||
.onSuccess([]() {
|
.onSuccess([]() {
|
||||||
// all messages were successfully published
|
// all messages were successfully published
|
||||||
})
|
})
|
||||||
.onError([]() {
|
.onError([](const char *message) {
|
||||||
// none of the messages were published
|
// none of the messages were published
|
||||||
// now we have to do it all over again
|
// now we have to do it all over again
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue