Closed keegancsmith closed 10 months ago
Before this if the git command failed we would nil panic since the Logger on gitservice.Handler was not set. This commit updates us to the latest version of lib which instead takes in an error hook so we can use the attached stdlib logger.
Corresponding PR at https://github.com/sourcegraph/sourcegraph/pull/56611
Test Plan: go test
@DaedalusG fix for the nil panic is now in main :)
Before this if the git command failed we would nil panic since the Logger on gitservice.Handler was not set. This commit updates us to the latest version of lib which instead takes in an error hook so we can use the attached stdlib logger.
Corresponding PR at https://github.com/sourcegraph/sourcegraph/pull/56611
Test Plan: go test