Skip to content

Commit

Permalink
Ignore cancelled error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed Oct 17, 2023
1 parent 2c9887a commit 7f79dd4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/commands/workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ export class ConnectInNewWindowCommand implements Command {
}
);
} catch (e) {
if (e instanceof vscode.CancellationError) {
return;
}
this.logService.error(e);
this.telemetryService.sendTelemetryException(new WrapError('Error runnning connectInNewWindow command', e));
throw e;
Expand Down Expand Up @@ -340,6 +343,9 @@ export class ConnectInCurrentWindowCommand implements Command {
}
);
} catch (e) {
if (e instanceof vscode.CancellationError) {
return;
}
this.logService.error(e);
this.telemetryService.sendTelemetryException(new WrapError('Error runnning connectInCurrentWindow command', e));
throw e;
Expand Down

0 comments on commit 7f79dd4

Please sign in to comment.