From 553e1eac05ae9d0b1c51a5068eb467842e2d68b2 Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 10 Dec 2019 15:33:57 +0100 Subject: [PATCH] If the uri can not be resolved we should not spam the console with error, remain quite fixes #86587 --- src/vs/workbench/contrib/debug/browser/linkDetector.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/contrib/debug/browser/linkDetector.ts b/src/vs/workbench/contrib/debug/browser/linkDetector.ts index 030231a132fdd..ff264cc8c2937 100644 --- a/src/vs/workbench/contrib/debug/browser/linkDetector.ts +++ b/src/vs/workbench/contrib/debug/browser/linkDetector.ts @@ -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; }