From 2514378fd1840480f7cbec4816ad488617ecfc60 Mon Sep 17 00:00:00 2001 From: 4shen0ne <33086594+zrquan@users.noreply.github.com> Date: Fri, 18 Oct 2024 09:50:51 +0800 Subject: [PATCH] suppress CalcelledError When moving on to the next directory scan, the `CalcelledError` from the previous scan needs to be suppressed. --- lib/controller/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index b0fbf0b98..35e4380b4 100755 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -277,7 +277,7 @@ def start(self) -> None: self.fuzzer.start() self.process() - except KeyboardInterrupt: + except (KeyboardInterrupt, asyncio.CancelledError): pass finally: