Skip to content

servegit: use error hook

Erik Seliger requested to merge k/use-errorhook into main

Created by: keegancsmith

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

Merge request reports

Loading