osmo_verify_transcript: add error handling for missing port
Change-Id: I1627c36cfb627e7f3a9b4d9f087bf10875ae0690
This commit is contained in:
parent
4e8d6eec5c
commit
7b5203f6aa
|
@ -70,6 +70,9 @@ class Interact:
|
|||
self.verbose = verbose
|
||||
self.update = update
|
||||
|
||||
if not port:
|
||||
raise Exception("You need to provide port number to connect to")
|
||||
|
||||
def connect(self):
|
||||
assert self.socket is None
|
||||
retries = 30
|
||||
|
|
Loading…
Reference in New Issue