Skip to content

Commit

Permalink
wrap with string (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
omryMen committed May 1, 2024
1 parent bd42e80 commit c6a0b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gitservice/git_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func wrapGitBlame(selectedCommit *object.Commit, relativeFilePath string) (blame
// currently there's a bug inside go-git so in order to mitigate it we wrap it with recover
defer func() {
if r := recover(); r != nil {
fmt.Println("Recovered in f", r, debug.Stack())
fmt.Println("Recovered in f", r, string(debug.Stack()))
err = errors.Errorf("unknown panic, %v", r)
}
}()
Expand Down

0 comments on commit c6a0b50

Please sign in to comment.