Skip to content

馃Ч cmd/gitserver: Remove method setLastError as it's only used once

Administrator requested to merge ig/remove-unused-set-last-error into main

Created by: indradhanush

Started working on #38616 when I noticed this.

Also, update misleading comment about logging error (see commit message).

馃憠 Sourcegraph search query at this commit showing that setLastError is not referenced anywhere else.

Test plan

Existing build should pass as there's no change in functionality.

Merge request reports

Loading