Skip to content

Commit ed312c8

Browse files
committed
refactor(multithread): suppress error logging in task execution for cleaner output
1 parent adf8525 commit ed312c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bugscanx/modules/scanners/scanners/concurrency/multithread.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def _worker(self):
5353

5454
try:
5555
self.task(task)
56-
except Exception as e:
57-
self.logger.log(f"Error in task: {e}")
56+
except Exception:
57+
pass
5858
finally:
5959
with self._lock:
6060
self._scanned += 1

0 commit comments

Comments
 (0)