v3io/frames

GrpcError when failing to connect on read

Opened this issue · 1 comments

When trying to read and there's no connection, a GrpcError is raised instead of a ReadError.

The issue is that read returns a generator, making the grpc_raise decrorator ineffective.
We probably need to check in grpc_raise if the return value is a generator and yield from it