Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bugsnag error logs in git when staging fails is an expected error #2106

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

abose
Copy link
Member

@abose abose commented Feb 1, 2025

expected errors in staging on click on the stage file/all checkbox in git panel should not be logged as error in bugsnag. Now its shown to user as error notification as the user needs to know the operation failed.
image

 This usually happens hwen a git index is locked Eg. error.
 Error: Error: fatal: Unable to create 'E:/.../test-git/.git/index.lock': File exists.

 Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Copy link

sonarqubecloud bot commented Feb 1, 2025

@abose abose merged commit 791d5d3 into main Feb 1, 2025
17 of 18 checks passed
@abose abose deleted the f branch February 1, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant