Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
dessalines merged 1 commit into
LemmyNet:mainfrom
MV-GH:fix/cannot_convert_json
Jul 27, 2023
Merged

Fix Value X cannot be converted to json in error messages #1098
dessalines merged 1 commit into
LemmyNet:mainfrom
MV-GH:fix/cannot_convert_json

Conversation

@MV-GH

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

Copy link
Copy Markdown
Collaborator

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