diff --git a/README.md b/README.md index 5b803b9..4b29a56 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ There is 5 Events you can use in this library: multiline.append("\n Progress " + progress); txtProgress.setText("Progress: " + progress + "%"); }) - .doOnSingleError(throwable -> { + .doOnEachSingleError(throwable -> { multiline.append("\n " + throwable.getMessage()); }) .doOnCompleteWithError(() -> {