mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Correct issues in trying to keep ipmi worker alive
This commit is contained in:
parent
0e84935876
commit
55ef78fc64
@ -40,10 +40,11 @@ def _ipmi_evtloop():
|
||||
while ipmiwaiters:
|
||||
waiter = ipmiwaiters.popleft()
|
||||
waiter.send()
|
||||
except RunTimeError:
|
||||
except RuntimeError:
|
||||
raise
|
||||
except:
|
||||
print "Whoops, that was a doozy"
|
||||
import sys
|
||||
print sys.exc_info()[2]
|
||||
|
||||
def _process_chgs(intline):
|
||||
#here we receive functions to run in our thread
|
||||
@ -64,7 +65,8 @@ def _process_chgs(intline):
|
||||
if len(cval) > 2:
|
||||
cval[2](rv)
|
||||
except: # assure the thread does not crash and burn
|
||||
print "should put in some debug data here..."
|
||||
import sys
|
||||
print sys.exc_info()[2]
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user