From 4b37493def0028d397dbd9666b522ac695068a40 Mon Sep 17 00:00:00 2001 From: et-nik Date: Thu, 22 Feb 2024 22:33:05 +0100 Subject: [PATCH] log error --- internal/processmanager/winsw.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/processmanager/winsw.go b/internal/processmanager/winsw.go index 073265c..47eccfb 100644 --- a/internal/processmanager/winsw.go +++ b/internal/processmanager/winsw.go @@ -204,6 +204,7 @@ func (pm *WinSW) makeService(ctx context.Context, server *domain.Server) (bool, createdNew := false flag := os.O_TRUNC | os.O_WRONLY if _, err := os.Stat(serviceFile); errors.Is(err, os.ErrNotExist) { + logger.Debug(ctx, "service file not found", err) // It means that service file does not exist. // We will create new service. // If file exists, we will update it.