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

Crash when http request return illegal result with json content type #1

Closed
xilin opened this issue Nov 7, 2015 · 4 comments
Closed

Comments

@xilin
Copy link

xilin commented Nov 7, 2015

In the line
https://github.com/coderyi/NetworkEye/blob/master/NetworkEye/NetworkEye/NEHTTPEye.m#L152

if any error happened, returnValue will be nil and the app will crash.

coderyi added a commit that referenced this issue Nov 7, 2015
@coderyi
Copy link
Owner

coderyi commented Nov 7, 2015

I modified it, and please you try again。

9905e32

@xilin
Copy link
Author

xilin commented Nov 8, 2015

@coderyi It works.

There is the other question, I always get a message in the console:

2015-11-08 12:10:39.224 MaiTian[18074:226489] WARNING: Requested sleep of 87 milliseconds, but SQLite returned 1000. Maybe SQLite wasn't built with HAVE_USLEEP=1?

Which should be a FMDB problem https://github.com/ccgus/fmdb/issues/411

@coderyi
Copy link
Owner

coderyi commented Nov 8, 2015

i found when i set HAVE_USLEEP=1,it will be have other warning

@xilin
Copy link
Author

xilin commented Nov 9, 2015

I think I could close this issue. Thanks!

@xilin xilin closed this as completed Nov 9, 2015
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