Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有命令行下的异常捕捉机制吗? #2814

Open
augushong opened this issue Jan 29, 2023 · 2 comments
Open

有命令行下的异常捕捉机制吗? #2814

augushong opened this issue Jan 29, 2023 · 2 comments

Comments

@augushong
Copy link

http下可以异常处理接管,但是命令行模式下,执行命令,好像并没有任何接管是吧。
有吗?文档里好像没有,代码里好像也没有。

@m1101322632
Copy link

接管?有没有可能是对-v参数做了特殊处理,控制了异常的展示?还是说要找命令行下的ExceptionHandler?

@augushong
Copy link
Author

好像不是-v或-vvv导致的,就是没有捕捉。
这个问题好像会导致一些log捕捉不到。我也忘了什么问题了,唉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants