mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
fix(sidecar): include exception type in gRPC error description
This commit is contained in:
1 parent
5b7415d2ea
commit
a70c865afa
1 file changed
-1
@@ -150,7 +150,6 @@ class DriverService(
|
||||
observer.onNext(block())
|
||||
observer.onCompleted()
|
||||
} catch (cause: Exception) {
|
||||
cause.printStackTrace()
|
||||
observer.onError(io.grpc.Status.INTERNAL.withDescription(cause.toString())
|
||||
.withCause(cause).asRuntimeException())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user