Skip to content

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

Merged
abose merged 1 commit intomainfrom
f
Feb 1, 2025
Merged

fix: bugsnag error logs in git when staging fails is an expected error#2106
abose merged 1 commit intomainfrom
f

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.

@sonarqubecloud
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