From 399d78dfe5137e017290c99d112ae8059958163a Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 17 May 2017 09:22:24 +0200 Subject: [PATCH] Added message to onError() example, fixes #122 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1a4e316..b324354 100644 --- a/README.md +++ b/README.md @@ -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 });