mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-16 10:20:00 +01:00
Add log in case an error happens while updating the last config modification time
This commit is contained in:
parent
556f559221
commit
a917b31591
@ -96,6 +96,8 @@ func (config *Config) UpdateLastFileModTime() {
|
|||||||
if !fileInfo.ModTime().IsZero() {
|
if !fileInfo.ModTime().IsZero() {
|
||||||
config.lastFileModTime = fileInfo.ModTime()
|
config.lastFileModTime = fileInfo.ModTime()
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
log.Println("[config][UpdateLastFileModTime] Ran into error updating lastFileModTime:", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user