Skip to content

Commit

Permalink
Ensure funnel errors don't effect node explorer (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan-at-work committed Aug 2, 2023
1 parent b610f67 commit 4de5d45
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/node-explorer-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ export class NodeExplorerProvider implements vscode.TreeDataProvider<PeerBaseTre
let hasErr = false;
try {
const status = await this.ts.serveStatus(true);
if (status.Errors && status.Errors.length) {
// TODO: return a proper error
return [];
}
// TODO: return a proper error
// Commented out because of funnel related errors
// TODO: make two separate endpoints or we'd have
// to filter out any funnel related errors here.
// if (status.Errors && status.Errors.length) {
// return [];
// }

this.updateNodeExplorerTailnetName(status.Self.TailnetName);

Expand Down

0 comments on commit 4de5d45

Please sign in to comment.