void () { myExistingTags.clear(); try { myExistingTags.addAll(ProgressManager.getInstance().runProcessWithProgressSynchronously( () -> GitBranchUtil.getAllTags(myProject, getGitRoot()), GitBundle.message("tag.getting.existing.tags"), false, myProject)); } catch (VcsException e) { GitUIUtil.showOperationError(myProject, GitBundle.message("tag.getting.existing.tags"), e.getMessage()); throw new ProcessCanceledException(); } }