Skip to content

Error: Connection not found, did you remove it? #1193

Description

@biati-digital

Bug Description

Some time ago I "integrated" your extension into my own extension, DDEV Manager. Back then, you added an API that allows extensions to create connections automatically (Issue #568). It has been working great ever since.
Over the last couple of months, though, I've started noticing that every time I restart VS Code, I get a warning about a missing connection. Since these are temporary connections that my extension creates/updates automatically, this error notification should not appear.
The connections API itself is still working perfectly. It's just that seeing this warning on every restart has become a bit annoying over time.

Expected Behavior

No error notifications for temp connections.

Actual Behavior

The editor shows an error after restarting the editor.

Environment

  • DBCode version: 1.36.6
  • VS Code (or fork) version: 1.129.0 but happens in older versions too
  • OS: macOS
  • Database: MariaDB
  • Connection: (direct/SSH/SSL): API

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions