We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c62a4f commit dab4cb7Copy full SHA for dab4cb7
src/plus/integrations/integrationService.ts
@@ -244,7 +244,13 @@ export class IntegrationService implements Disposable {
244
if (account != null) {
245
try {
246
const exchangeToken = await this.container.accountAuthentication.getExchangeToken();
247
- await openUrl(this.container.getGkDevExchangeUri(exchangeToken, `connect?${query}`).toString(true));
+ if (
248
+ !(await openUrl(
249
+ this.container.getGkDevExchangeUri(exchangeToken, `connect?${query}`).toString(true),
250
+ ))
251
+ ) {
252
+ return false;
253
+ }
254
} catch (ex) {
255
Logger.error(ex, scope);
256
if (!(await openUrl(this.container.getGkDevUri('connect', query).toString(true)))) {
0 commit comments