1
0
mirror of https://gitea.com/gitea/act_runner.git synced 2025-01-15 20:53:04 +01:00

fix: ignore stuck because of wrong token

This commit is contained in:
Jason Song 2022-11-15 13:38:25 +08:00
parent 9830f34d36
commit 88ae188699

@ -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)