Skip to content

Commit

Permalink
fix: correctly debug preprocessor again (#3332)
Browse files Browse the repository at this point in the history
fixes #3327
as discussed in #3323

add missing inheritance for EarlyReturnException from BaseException to correctly throw and catch
  • Loading branch information
mashb1t authored Jul 21, 2024
1 parent f597bf1 commit 2e8cff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/async_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, args):
async_tasks = []


class EarlyReturnException:
class EarlyReturnException(BaseException):
pass


Expand Down

0 comments on commit 2e8cff2

Please sign in to comment.