mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Only throw if releaseNotesUrl doesn't exist (#11295)
This commit is contained in:
@@ -55,8 +55,9 @@ export class OpenLatestReleaseNotesInBrowserAction extends Action {
|
||||
if (this.productService.releaseNotesUrl) {
|
||||
const uri = URI.parse(this.productService.releaseNotesUrl);
|
||||
await this.openerService.open(uri);
|
||||
} else { //{{SQL CARBON EDIT}}
|
||||
throw new Error(nls.localize('update.noReleaseNotesOnline', "This version of {0} does not have release notes online", this.productService.nameLong));
|
||||
}
|
||||
throw new Error('This version of Visual Studio Code does not have release notes online');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user