Skip to content

Commit

Permalink
If the uri can not be resolved we should not spam the console with er…
Browse files Browse the repository at this point in the history
…ror, remain quite

fixes #86587
  • Loading branch information
isidorn committed Dec 10, 2019
1 parent cb1ae81 commit 553e1ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vs/workbench/contrib/debug/browser/linkDetector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ export class LinkDetector {
}
const options = { selection: { startLineNumber: lineNumber, startColumn: columnNumber } };
this.decorateLink(link, () => this.editorService.openEditor({ resource: uri, options }));
}).catch(() => {
// If the uri can not be resolved we should not spam the console with error, remain quite #86587
});
return link;
}
Expand Down

0 comments on commit 553e1ea

Please sign in to comment.