ModelEngine-Group / ModelEngine-Group/fit-framework

Waterflow 中存在全局和非全局两个异常处理器,他们的处理时机是否允许同时处理呢?

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

in: waterflow status: waiting-for-internal-feedback
Dominant language
Java
Stars
2.1k
Forks
335
PR merge metrics
No merged PRs in 30d

Description

在检视 Waterflow 代码过程中,发现了不少地方存在异常处理逻辑,但是异常处理的时候是分别针对全局异常处理器和非全局异常处理器进行了处理。但是一般情况下,如果有区分全局异常处理和非全局异常处理的话,他们俩是不会同时进行处理的,所以这个地方需要看看是不是处理时机没有处理好?当前代码逻辑下是可能发生两个异常处理器同时对异常进行处理的。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Waterflow code paths for global and non-global exception handlers. Check whether both handlers can process the same exception and identify the intended handling order. Done means the behavior is confirmed and the handling timing prevents unintended duplicate processing or is documented as intentional.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.