diff --git a/eden/scm/edenscm/mercurial/util.py b/eden/scm/edenscm/mercurial/util.py index 8d8b0448fd..363d39cf79 100644 --- a/eden/scm/edenscm/mercurial/util.py +++ b/eden/scm/edenscm/mercurial/util.py @@ -4357,6 +4357,9 @@ def threaded(func): variant, value = result if variant == "err": + tb = getattr(value, "__traceback__", None) + if tb is not None: + pycompat.raisewithtb(value, tb) raise value return value