summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/proxy.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/proxy.py b/plugins/proxy.py
index 582010c9a..e6635e752 100644
--- 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)