Skip to content

Commit 98b2dbb

Browse files
authored
Update service_windows.go
1 parent 99e5464 commit 98b2dbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/service_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func ProcessWindowsControlEvents(logger *logp.Logger, stopCallback func()) {
128128
//nolint:staticcheck // keep using the deprecated method in order to maintain the existing behavior
129129
isInteractive, err := svc.IsAnInteractiveSession()
130130
if err != nil {
131-
logger.Error("IsAnInteractiveSession: %v", err)
131+
logger.Errorf("IsAnInteractiveSession: %v", err)
132132
return
133133
}
134134
logger.Debugf("service", "Windows is interactive: %v", isInteractive)

0 commit comments

Comments
 (0)