Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
add log on no account left
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio1988 committed Oct 4, 2023
1 parent 6f53922 commit faa4a2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ func handleGetAccount(c *gin.Context, req ControllerBody, workerState *worker.St
}

if account == nil {
log.Warnf("[CONTROLLER] [%s] No account left to use", workerState.Uuid)
respondWithError(c, NoAccountLeft)
return
}
Expand Down

0 comments on commit faa4a2e

Please sign in to comment.