Commit 7bc98ee0 authored by Tomas Hlavacek's avatar Tomas Hlavacek

Add better message to BIRD timeout handling

Add more explanatory exception message to BIRD timeout handling code
than the previos catch-all else branch with one Exception was.
parent 0a5b4732
......@@ -593,6 +593,8 @@ class BirdRouterRemote(ulgmodel.RemoteRouter,BirdRouter):
p+=1
elif(i==2): # EOF -> process output
break
elif(i==3):
raise Exception("pexpect session timed out. last output: "+s.before)
else:
raise Exception("pexpect session failed: Unknown error. last output: "+s.before)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment