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

Fix Value X cannot be converted to json in error messages #1098

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

MV-GH
Copy link
Collaborator

@MV-GH MV-GH commented Jul 25, 2023

Fixes these
image

Currently it always assumes that when the response fails that it gets a JSON error object. Which we frequently don't.

So this will make timeout errors and others show nicely

Fixes #1005

@MV-GH MV-GH changed the title Fix Value X cannot be converted Fix Value X cannot be converted to json in error messages Jul 25, 2023
@dessalines dessalines merged commit 5119b55 into LemmyNet:main Jul 27, 2023
@MV-GH MV-GH deleted the fix/cannot_convert_json branch July 27, 2023 17:40
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

Successfully merging this pull request may close these issues.

Value <html> of type java.lang.String cannot be converted... Error when uploading image.
2 participants