-
Notifications
You must be signed in to change notification settings - Fork 213
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
HttpDispatcher.responseContent是不是在try中合适? #40
Labels
question
Further information is requested
Comments
放在 |
放在try里的话,异常时应该走exceptionCaught方法了吧,要不出现异常会不会exceptionCaught和responseContent执行重复 @crossoverJie |
应该是说反了,只有异常时
不过这里倒确实可以优化下,没必要响应两次。 |
对就这意思,不愧是大jie哥! @crossoverJie |
crossoverJie
added a commit
that referenced
this issue
Jul 11, 2019
fix #40 & add global handle exception interface
#41 已经优化 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: