Skip to content

Commit

Permalink
Fix missing error handling
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai committed May 4, 2021
1 parent 836244b commit dcf0a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tink-worker/internal/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dcf0a52

Please sign in to comment.