-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
偶尔不抛异常,导致应用卡在加载状态 #1269
Comments
Can you copy paste the error which is printed in the console here? |
|
你是不是有自定义的拦截器,在onError方法中没有调用handler.next |
我也有这个问题 我也确实在onError里调用了handler.next |
用4.0.3试试呢? |
i am facing the same problem! [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: DioError [DioErrorType.other]: HttpException: Connection closed before full header was received, uri = |
我用的Future的 catchError
网络不好的时候 该抛给我的异常 没抛给我 直接打印在了控制台里
似乎是Dio 自己把异常处理了? 然后不告诉我?
让我的应用直接卡在加载状态 除了重启以外就没法再刷新
在网络稳定的情况下几乎永远不会发生这个问题
想复现得看运气 但是次数多了总会出现这个问题
The text was updated successfully, but these errors were encountered: