diff options
-rwxr-xr-x | plugins/proxy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/proxy.py b/plugins/proxy.py index 60ea89967..656c9e5bd 100755 --- a/plugins/proxy.py +++ b/plugins/proxy.py @@ -312,8 +312,8 @@ class IkiWikiProcedureProxy(object): except Exception as e: import traceback - self.error('uncaught exception: {}\n{}'.format( - e, traceback.format_exc(sys.exc_info()[2]))) + tb = traceback.format_exc() + self.error('uncaught exception: {}\n{}'.format(e, tb)) return def _importme(self): |