From 389f18d7eb79a2bae738f4066a38ecf59990cb59 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Fri, 3 Jan 2025 12:00:08 +0800 Subject: [PATCH] update Signed-off-by: Gyuho Lee --- components/systemd/component_output.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/systemd/component_output.go b/components/systemd/component_output.go index 39273041..5c8741aa 100644 --- a/components/systemd/component_output.go +++ b/components/systemd/component_output.go @@ -179,6 +179,7 @@ func CreateGet(cfg Config) query.GetFunc { ccancel() } if defaultConn == nil || err != nil { + log.Logger.Warnw("failed to check active status", "unit", unit, "error", err) active, err = systemd.IsActive(unit) if err != nil { return nil, fmt.Errorf("failed to check active status for unit %q: %w", unit, err)