Skip to content

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

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

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

Conversation

@ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Sep 4, 2024

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
Copy link
Contributor

jackkav commented Sep 4, 2024

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
Copy link
Contributor

@jackkav jackkav left a comment

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
Copy link
Contributor Author

ihexxa commented Sep 6, 2024

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