projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2463a8
)
Print traceback for unhandled exceptions
author
martin f. krafft
<madduck@madduck.net>
Sun, 16 Mar 2008 11:03:26 +0000
(12:03 +0100)
committer
Joey Hess
<joey@kodama.kitenet.net>
Mon, 17 Mar 2008 21:16:46 +0000
(17:16 -0400)
(cherry picked from commit
10574a324e03cd0533e77f46ead6e4c6a6e5568f
)
plugins/proxy.py
patch
|
blob
|
history
diff --git
a/plugins/proxy.py
b/plugins/proxy.py
index 582010c9af550c87d7f045128efd49e62faacd26..e6635e752404a8d941092f7d3e44d6e983995180 100644
(file)
--- a/
plugins/proxy.py
+++ b/
plugins/proxy.py
@@
-171,5
+171,8
@@
class IkiWikiProcedureProxy(object):
return
time.sleep(LOOP_DELAY)
except Exception, e:
- self._debug_fn('uncaught exception: %s' % e)
+ print >>sys.stderr, 'uncaught exception: %s' % e
+ import traceback
+ print >>sys.stderr, traceback.format_exc(sys.exc_info()[2])
+ import posix
sys.exit(posix.EX_SOFTWARE)