diff --git a/mitmproxy/addonmanager.py b/mitmproxy/addonmanager.py index 0bbe62871..ec82d6507 100644 --- a/mitmproxy/addonmanager.py +++ b/mitmproxy/addonmanager.py @@ -61,7 +61,7 @@ def safecall(): raise except Exception as e: etype, value, tb = sys.exc_info() - tb = cut_traceback(tb, "invoke_addon").tb_next + tb = cut_traceback(tb, "invoke_addon") ctx.log.error( "Addon error: %s" % "".join( traceback.format_exception(etype, value, tb)