confluentinc / confluentinc/vscode

Unhandled Error in case of unknown clusterId in Resource Loader

Open
#959 1 comment 0 reactions 1 assignee Claimed by @shouples View on GitHub
direct connection/resources
Dominant language
TypeScript
Stars
34
Forks
17
Avg merge
1d 22h
Merged PRs (30d)
8

Description

From Sentry Issue: [VSCODE-EXTENSION-HR](https://confluent.sentry.io/issues/6241551932/?referrer=github_integration)

```
Error: Unknown connectionId b678c432-8763-4465-816a-ab9736f10b0f
File "..\src\storage\resourceLoader.ts", line 60, in {_ResourceLoader#2}.getInstance
throw new Error(`Unknown connectionId ${connectionId}`);
File "..\src\viewProviders\topics.ts", line 205, in {_TopicViewProvider#2}.updateTreeViewDescription
const loader = ResourceLoader.getInstance(cluster.connectionId);
File "..\src\viewProviders\topics.ts", line 184, in currentKafkaClusterChangedSub
await this.updateTreeViewDescription();
File "app:///extensionHostProcess.js", line 30, in P.B
File "app:///extensionHostProcess.js", line 30, in P.fire
...
(3 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.