Add log in case an error happens while updating the last config modification time

This commit is contained in:
TwinProduction 2021-09-03 22:28:49 -04:00 committed by Chris
parent 556f559221
commit a917b31591

View File

@ -96,6 +96,8 @@ func (config *Config) UpdateLastFileModTime() {
if !fileInfo.ModTime().IsZero() {
config.lastFileModTime = fileInfo.ModTime()
}
} else {
log.Println("[config][UpdateLastFileModTime] Ran into error updating lastFileModTime:", err.Error())
}
}