From 88ae188699428e10d0d5d886f00f07c100f4cd7b Mon Sep 17 00:00:00 2001 From: Jason Song Date: Tue, 15 Nov 2022 13:38:25 +0800 Subject: [PATCH] fix: ignore stuck because of wrong token --- cmd/daemon.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/daemon.go b/cmd/daemon.go index 478342f..d240720 100644 --- a/cmd/daemon.go +++ b/cmd/daemon.go @@ -131,7 +131,9 @@ func runDaemon(ctx context.Context, envFile string) func(cmd *cobra.Command, arg Status: runnerv1.RunnerStatus_RUNNER_STATUS_IDLE, }), ); err != nil { - return err + // go on, if return err, the program will be stuck + log.WithError(err). + Errorln("failed to update runner") } return poller.Poll(ctx, cfg.Runner.Capacity)