git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
105f629
)
fixed watchdog timer to actually print stack instead of 'None'
author
Forrest Voight
<forrest@forre.st>
Sat, 20 Aug 2011 19:28:00 +0000 (15:28 -0400)
committer
Forrest Voight
<forrest@forre.st>
Sat, 20 Aug 2011 19:28:00 +0000 (15:28 -0400)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
19cd5c4
..
a13cd3c
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-578,7
+578,7
@@
def main(args):
if hasattr(signal, 'SIGALRM'):
def watchdog_handler(signum, frame):
print 'Watchdog timer went off at:'
- traceback.print_exc()
+ traceback.print_stack()
signal.signal(signal.SIGALRM, watchdog_handler)
task.LoopingCall(signal.alarm, 30).start(1)