Skip to content

Commit

Permalink
log error
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed Feb 22, 2024
1 parent d4e2531 commit 4b37493
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/processmanager/winsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4b37493

Please sign in to comment.