mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Provide fallback for unexpected reply in collective show
This commit is contained in:
parent
cf9d2a43e8
commit
d5c093a30d
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user