diff --git a/src/rust/engine/src/python.rs b/src/rust/engine/src/python.rs index 2dcd347ab6e..cfd0b567464 100644 --- a/src/rust/engine/src/python.rs +++ b/src/rust/engine/src/python.rs @@ -425,7 +425,7 @@ impl Failure { locals.set_item("tb", tb).unwrap(); locals.set_item("val", &val).unwrap(); py.eval( - "''.join(traceback.format_exception(etype=None, value=val, tb=tb))", + "''.join(traceback.format_exception(None, value=val, tb=tb))", None, Some(locals), )