From 647bf59f3cf91baba1df0552e10e327a60188b5c Mon Sep 17 00:00:00 2001 From: Angelo Dell'Aera Date: Thu, 17 Oct 2024 09:36:40 +0200 Subject: [PATCH] Minor change --- thug/DOM/JSInspector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thug/DOM/JSInspector.py b/thug/DOM/JSInspector.py index 1c3cd8aa8d..bf5504893b 100644 --- a/thug/DOM/JSInspector.py +++ b/thug/DOM/JSInspector.py @@ -123,7 +123,7 @@ def run(self): except SyntaxError: try: result = self.ctxt.eval(ast.literal_eval(f"'{self.script}'")) - except Exception as e: # pragma: no cover,pylint:disable=broad-except + except Exception as e: # pylint:disable=broad-except log.warning("[JSInspector] %s", str(e)) except Exception as e: # pragma: no cover,pylint:disable=broad-except log.warning("[JSInspector] %s", str(e))