Skip to content
Snippets Groups Projects
Commit 254fae2d authored by Bob Lantz's avatar Bob Lantz
Browse files

Clarify which intf pair failed and raise exception

parent bdad3e8c
No related branches found
No related tags found
No related merge requests found
......@@ -190,7 +190,8 @@ def makeIntfPair( intf1, intf2, addr1=None, addr2=None, node1=None, node2=None,
if cmdOutput == '':
return True
else:
error( "Error creating interface pair: %s " % cmdOutput )
raise Exception( "Error creating interface pair (%s,%s): %s " %
( intf1, intf2, cmdOutput ) )
return False
def retry( retries, delaySecs, fn, *args, **keywords ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment