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