Update this logging

This commit is contained in:
Melon 2025-01-10 22:48:31 +00:00
parent 08f94bc260
commit cbf6878c13
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -79,12 +79,12 @@ func main() {
err = os.MkdirAll(sitesDir, 0770)
if err != nil {
logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err)
logger.Logger.Fatal("Failed to find or create sites directory", "err", err)
}
err = os.MkdirAll(sitesPostHookDir, 0770)
if err != nil {
logger.Logger.Fatal("Failed to find or create sites directory. Error: ", err)
logger.Logger.Fatal("Failed to find or create sites directory", "err", err)
}
sitesFs := afero.NewBasePathFs(afero.NewOsFs(), sitesDir)