From a917b31591451358e35f5542f5001980f713eebf Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Fri, 3 Sep 2021 22:28:49 -0400 Subject: [PATCH] Add log in case an error happens while updating the last config modification time --- config/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/config.go b/config/config.go index f5049a5c..623ecdc3 100644 --- a/config/config.go +++ b/config/config.go @@ -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()) } }