Small error string cleanup
This commit is contained in:
parent
581139e56c
commit
f96cdbca17
|
|
@ -259,8 +259,8 @@ func (l *customLogger) writeContent(content []byte) {
|
|||
l.Logger.Error(err, "can't rename to error-file", "temp-file", tmpFile.Name(), "error-file", errorFile)
|
||||
return
|
||||
}
|
||||
if err := os.Chmod(errorFile, 0644) ; err != nil {
|
||||
l.Logger.Error(err, "can't change the mod of the error-file", "error-file", errorFile)
|
||||
if err := os.Chmod(errorFile, 0644); err != nil {
|
||||
l.Logger.Error(err, "can't change permissions on the error-file", "error-file", errorFile)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue