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

Misleading error message when connecting to MATLAB after cancelling a previous attempt #17

Open
dklilley opened this issue Aug 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dklilley
Copy link
Member

Describe the bug
When MATLAB is killed while the language server is connecting to it, attempting to connect again will display the following error in the log: matlabls - ERROR: Failed to connect to MATLAB

Although everything works as expected, this error message should not be displayed at this time.

To Reproduce
Steps to reproduce the behavior (using the MATLAB extension for VS Code):

  1. Attempt to connect to MATLAB through the extension
  2. Before the connection is established, kill the MATLAB process
  3. Attempt to connect to MATLAB again - this will connect successfully, but will display the error mentioned above

Expected behavior
The error message should not display upon reconnecting.

@dklilley dklilley added the bug Something isn't working label Aug 15, 2023
diningPhilosopher64 pushed a commit to diningPhilosopher64/MATLAB-language-server that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant