X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/646392f3672094b90dec02eff1b0d4ac4ebb0742..c92e9b34ec652748af3a07b329e07c4af7f975d5:/plugins/proxy.py diff --git a/plugins/proxy.py b/plugins/proxy.py index 582010c9a..6f9b1f852 100644 --- a/plugins/proxy.py +++ b/plugins/proxy.py @@ -88,7 +88,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object): @staticmethod def _write(out_fd, data): - out_fd.write(data) + out_fd.write(str(data)) out_fd.flush() @staticmethod @@ -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)