From 2e8cff296efdabf4f0616626605c3969e637630d Mon Sep 17 00:00:00 2001 From: Manuel Schmid <9307310+mashb1t@users.noreply.github.com> Date: Sun, 21 Jul 2024 11:49:28 +0200 Subject: [PATCH] fix: correctly debug preprocessor again (#3332) fixes https://github.com/lllyasviel/Fooocus/issues/3327 as discussed in https://github.com/lllyasviel/Fooocus/discussions/3323 add missing inheritance for EarlyReturnException from BaseException to correctly throw and catch --- modules/async_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/async_worker.py b/modules/async_worker.py index 71cfba3f5..66b3d8956 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -158,7 +158,7 @@ def __init__(self, args): async_tasks = [] -class EarlyReturnException: +class EarlyReturnException(BaseException): pass