Skip to content
Snippets Groups Projects
Commit b85abcac authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-7573 OZG-7991 Call on*()-methods on requestObserver

parent adfe531b
No related branches found
No related tags found
1 merge request!27OZG-7573 Dateien Weiterleiten
......@@ -47,9 +47,9 @@ class EingangForwarder {
.thenCompose(ignored -> sendRepresentations(representations))
.whenComplete((result, ex) -> {
if (ex != null) {
responseObserver.onError(ex);
requestObserver.onError(ex);
} else {
responseObserver.onCompleted();
requestObserver.onCompleted();
}
})
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment