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

没有网络的时候请求dio,直接报错抛出异常,不会在error中返回DioError类型,页面卡死 #382

Closed
itMcdull opened this issue Jul 19, 2019 · 3 comments

Comments

@itMcdull
Copy link

抛出的异常如下,
DioError (DioError [DioErrorType.DEFAULT]: SocketException: Failed host lookup: 'xxxxxxxxURL' (OS Error: No address associated with hostname, errno = 7))

@YQjiuhao
Copy link

看看是不是这个的问题

@stale
Copy link

stale bot commented Aug 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@stale stale bot added the stale label Aug 21, 2019
@LeiYao123
Copy link

@itMcdull 可能是你的设备没网了

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

3 participants