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 { ...@@ -81,9 +81,9 @@ class ForwardingRemoteService {
try { try {
sendEingang(request, requestStreamObserver); sendEingang(request, requestStreamObserver);
requestStreamObserver.onCompleted(); requestStreamObserver.onCompleted();
} catch (Throwable t) { } catch (Exception e) {
requestStreamObserver.onError(t); requestStreamObserver.onError(e);
throw t; throw e;
} }
} }
......
...@@ -160,7 +160,7 @@ class ForwardingRemoteServiceTest { ...@@ -160,7 +160,7 @@ class ForwardingRemoteServiceTest {
routeForwarding(); routeForwarding();
verify(serviceStub).routeForwarding(any(ForwardingResponseObserver.class)); verify(serviceStub).routeForwarding(responseObserver);
} }
@Nested @Nested
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment