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

OZG-7573 Small fixes

parent 1e07ddfe
Branches
Tags
1 merge request!23Ozg 7573 forwarding interface
......@@ -81,9 +81,9 @@ class ForwardingRemoteService {
try {
sendEingang(request, requestStreamObserver);
requestStreamObserver.onCompleted();
} catch (Throwable t) {
requestStreamObserver.onError(t);
throw t;
} catch (Exception e) {
requestStreamObserver.onError(e);
throw e;
}
}
......
......@@ -160,7 +160,7 @@ class ForwardingRemoteServiceTest {
routeForwarding();
verify(serviceStub).routeForwarding(any(ForwardingResponseObserver.class));
verify(serviceStub).routeForwarding(responseObserver);
}
@Nested
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment