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

Cody: Handle network error disconnection #43

Closed
deepak2431 opened this issue Jun 22, 2023 · 2 comments · Fixed by #107
Closed

Cody: Handle network error disconnection #43

deepak2431 opened this issue Jun 22, 2023 · 2 comments · Fixed by #107

Comments

@deepak2431
Copy link
Contributor

When there's any network error during the chat session, it shows unexpected error.

iScreen Shoter - Code - 230622122045
iScreen Shoter - Code - 230622121847

Expected behaviour:

  1. If there's a network error when users load the extension and have a valid token. Add an error message that "Could not load Cody due to network error" with a reload button to attempt when the connection is back.
  2. If a network error happens during the chat, stop the execution and show an error message in the web view "Network error occurred; try after some time".
@deepak2431 deepak2431 changed the title Cody: Handle server disconnection Cody: Handle network error disconnection Jun 22, 2023
@jdorfman jdorfman transferred this issue from sourcegraph/sourcegraph Jul 10, 2023
@jdorfman
Copy link
Member

Thanks @deepak2431

Any changes since you first reported it?

@deepak2431
Copy link
Contributor Author

@jdorfman I reproduced this again. No changes so far. The issue is the same. I will attach my PR to this issue soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants