Merge pull request #123833 from gjsjohnmurray/fix-123831

fix #123831 handle command URL in ErrorResponse Message from debug adapter
This commit is contained in:
Isidor Nikolic 2021-05-14 11:41:46 +02:00 committed by GitHub
commit 27966a2521
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -692,7 +692,7 @@ export class RawDebugSession implements IDisposable {
const label = error.urlLabel ? error.urlLabel : nls.localize('moreInfo', "More Info");
return errors.createErrorWithActions(userMessage, {
actions: [new Action('debug.moreInfo', label, undefined, true, async () => {
this.openerService.open(URI.parse(url));
this.openerService.open(URI.parse(url), { allowCommands: true });
})]
});
}