From dcf0a524e7260ff4ce758d0bcd644cc79bfa231a Mon Sep 17 00:00:00 2001 From: shubham Date: Tue, 4 May 2021 10:25:03 +0530 Subject: [PATCH] Fix missing error handling Signed-off-by: shubham --- cmd/tink-worker/internal/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tink-worker/internal/worker.go b/cmd/tink-worker/internal/worker.go index 947540c74..ab37908af 100644 --- a/cmd/tink-worker/internal/worker.go +++ b/cmd/tink-worker/internal/worker.go @@ -261,7 +261,7 @@ func (w *Worker) ProcessWorkflowActions(ctx context.Context, workerID string, ca os.Exit(1) } - f.Close() + err = f.Close() if err != nil { l.Error(err) os.Exit(1)