improve logging [ci skip]
This commit is contained in:
parent
2ab4daa50c
commit
a16685411c
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ func addEmailAlias(gitFs *GitFS, to, fromDomain string) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", errors.Wrapf(err, "failed to read existing aliases file")
|
return "", errors.Wrapf(err, "failed to read existing aliases file")
|
||||||
}
|
}
|
||||||
|
glog.Infof("current aliases file contents: \n%s", string(fileContentsBytes))
|
||||||
fRead.Close()
|
fRead.Close()
|
||||||
newContents := getAddedAliasContents(string(fileContentsBytes), aliasEmail, to)
|
newContents := getAddedAliasContents(string(fileContentsBytes), aliasEmail, to)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue