improve logging [ci skip]

This commit is contained in:
viktorbarzin 2021-04-09 20:47:09 +01:00
parent 059d3386ed
commit f508192167

View file

@ -39,6 +39,7 @@ func addEmailAlias(gitFs *GitFS, to, fromDomain string) (string, error) {
if err != nil {
return "", errors.Wrapf(err, "failed to read existing aliases file")
}
glog.Infof("current aliases file contents: \n%s", string(fileContentsBytes))
fRead.Close()
newContents := getAddedAliasContents(string(fileContentsBytes), aliasEmail, to)