mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-15 17:16:11 +00:00
Provide fallback for unexpected reply in collective show
This commit is contained in:
@ -68,7 +68,7 @@ def join_collective(server, invitation):
|
||||
res = tlvdata.recv(s)
|
||||
res = res.get('collective',
|
||||
{'status': 'Unknown response: ' + repr(res)})
|
||||
print(res.get('status', res['error']))
|
||||
print(res.get('status', res.get('error', repr(res))))
|
||||
|
||||
|
||||
def show_collective():
|
||||
|
Reference in New Issue
Block a user