From e3499e4b99627ffbc44db6a6bb542d9ad439b00a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Mar 2020 23:18:49 +0530 Subject: [PATCH] test resolve --- mitmproxy/addons/script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/script.py b/mitmproxy/addons/script.py index 0e6c02524..b3cb0999e 100644 --- a/mitmproxy/addons/script.py +++ b/mitmproxy/addons/script.py @@ -112,7 +112,7 @@ class Script: ctx.options.keys() ) except exceptions.OptionsError as e: - script_error_handler(self.fullpath,e,str(e)) + script_error_handler(self.fullpath, e, msg=str(e)) async def watcher(self): last_mtime = 0