From 26e4e5e6c5f9ef351960ba34e191a0dbd809382c Mon Sep 17 00:00:00 2001 From: Oskari Mantere Date: Thu, 13 Jun 2019 13:05:43 +0300 Subject: [PATCH] fixed the ipython handler --- tracestack/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracestack/handler.py b/tracestack/handler.py index 4dc20ce..67e5ee0 100644 --- a/tracestack/handler.py +++ b/tracestack/handler.py @@ -69,7 +69,7 @@ def _handle_string(self, error_string): def _get_ipython_handler(*args, **kwargs): handler = ExceptionHandler(*args, **kwargs) - def handle_ipython(shell, etype, value, tb, tb_offset=None): + def handle_ipython(shell, etype, evalue, tb, tb_offset=None): shell.showtraceback((etype, evalue, tb), tb_offset=tb_offset) handler.handle_error(etype, evalue, tb) return handle_ipython