Skip to content

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

Open
@dklilley

Description

@dklilley

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions