We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af24427 commit d085725Copy full SHA for d085725
nameko_grpc/channel.py
@@ -77,7 +77,10 @@ def get(self):
77
def start(self):
78
self.run = True
79
for target in self.targets:
80
- self.connect(urlparse(target))
+ try:
81
+ self.connect(urlparse(target))
82
+ except OSError as e:
83
+ raise type(e)(f"Failed to connect to {target}") from e
84
85
def stop(self):
86
self.run = False
0 commit comments