Skip to content

chore: return friendly message when sendRequest sees an error - #7911

Merged
ihexxa merged 1 commit into
developfrom
chore/send-req-error-msg
Sep 6, 2024
Merged

chore: return friendly message when sendRequest sees an error#7911
ihexxa merged 1 commit into
developfrom
chore/send-req-error-msg

Conversation

@ihexxa

@ihexxa ihexxa commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

Changes:

  • chore: return friendly message when sendRequest sees an error
image

@ihexxa ihexxa self-assigned this Sep 4, 2024
@ihexxa
ihexxa marked this pull request as draft September 4, 2024 09:55
@ihexxa
ihexxa force-pushed the chore/send-req-error-msg branch from 355e8f2 to b92810e Compare September 4, 2024 10:13
@jackkav

jackkav commented Sep 4, 2024

Copy link
Copy Markdown
Contributor

this shouldn't be an unhandled error, it should appear in the response pane, it is an expected response when a users api is down.

@ihexxa
ihexxa force-pushed the chore/send-req-error-msg branch from b92810e to ae0dff6 Compare September 5, 2024 07:53
@ihexxa
ihexxa marked this pull request as ready for review September 5, 2024 07:54

@jackkav jackkav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If its easy to show this error in the preview pane id suggest doing it now, because it will be more difficult to do it later.

@ihexxa
ihexxa enabled auto-merge (squash) September 6, 2024 02:26
@ihexxa
ihexxa force-pushed the chore/send-req-error-msg branch from ae0dff6 to 030463b Compare September 6, 2024 02:27
@ihexxa
ihexxa merged commit 58bea08 into develop Sep 6, 2024
@ihexxa
ihexxa deleted the chore/send-req-error-msg branch September 6, 2024 03:18
@ihexxa

ihexxa commented Sep 6, 2024

Copy link
Copy Markdown
Contributor Author

Probably we could check how to categorize them in the next.

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.

2 participants