Skip to content

Commit

Permalink
Avoid showing any errors for background fetches
Browse files Browse the repository at this point in the history
Otherwise these could pile up or be distracting.
However, errors should be shown on specific user actions
that allow for modal dialogues.
  • Loading branch information
Byron committed Jul 20, 2024
1 parent af4c70f commit 5cfa2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/lib/baseBranch/baseBranchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class BaseBranchService {
return;
} else if (err.code === Code.ProjectsGitAuth) {
showError('Failed to authenticate', err);
} else {
} else if (action !== undefined) {
showError('Failed to fetch', err);
}
console.error(err);
Expand Down

0 comments on commit 5cfa2fd

Please sign in to comment.