Skip to content

Commit

Permalink
updated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jackson committed Sep 1, 2024
1 parent 182de6f commit 9295439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/worker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func main() {
for {
tasks, err := database.Client.ListTasks("", *artifacts.Client.CharacterName, 1, models.TaskStatusPending)
if errors.Is(err, utils.ErrTasksNotFound) {
utils.Logger.Info("no crafting tasks found", zap.Error(err))
utils.Logger.Info("no tasks found", zap.Error(err))
time.Sleep(10 * time.Second)
continue
} else if err != nil {
Expand Down

0 comments on commit 9295439

Please sign in to comment.