Skip to content

Commit 6586a2e

Browse files
authored
fix: downgrade error to info log (#46)
* downgrade error * fix: timer
1 parent 7459d50 commit 6586a2e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/commands/billing/subscribe.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ var SubscribeCommand = &cli.Command{
8282
for {
8383
select {
8484
case <-timeout:
85-
return fmt.Errorf("payment confirmation timed out after 5 minutes. If you completed payment, run 'eigenx billing status' to check status")
85+
logger.Info("\nPayment confirmation timed out after 5 minutes.")
86+
logger.Info("If you completed payment, run 'eigenx billing status' to check status.")
87+
return nil
8688
case <-ticker.C:
8789
subscription, err := client.GetUserSubscription(cCtx)
8890
if err != nil {

0 commit comments

Comments
 (0)