We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the json is invalid, xLog crashes the Android app and gives error "format parse ..."
Instead of doing that it should either give helpful validation errors like this site: https://jsonformatter.curiousconcept.com/#
Or simply print in the logcat that the "json is invalid". The App should NOT crash.
This is what https://github.com/orhanobut/logger does:
The important part is that App is not crashed!
Please think of a more thoughtful way of dealing with invalid json errors. Crashing the app is very inconvenient.
The text was updated successfully, but these errors were encountered:
@shipsywor Thanks for your reasonable suggestion, will do it.
Sorry, something went wrong.
Print warning message instead of throwing exception #103
6b42cd3
v1.10.0 is released, close
No branches or pull requests
When the json is invalid, xLog crashes the Android app and gives error "format parse ..."
Instead of doing that it should either give helpful validation errors like this site: https://jsonformatter.curiousconcept.com/#
Or simply print in the logcat that the "json is invalid". The App should NOT crash.
This is what https://github.com/orhanobut/logger does:
The important part is that App is not crashed!
Please think of a more thoughtful way of dealing with invalid json errors. Crashing the app is very inconvenient.
The text was updated successfully, but these errors were encountered: