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):
elif(i==2): # EOF -> process output
raise Exception("pexpect session timed out. last output: "+s.before)
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