Skip to content

Commit

Permalink
fix: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielolivrp committed Apr 15, 2024
1 parent 7b0d0c9 commit 0d6a3dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/service/whatsapp_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ func (w *whatsAppService) GetInstance(instanceID string) (*whatsapp.Instance, er
}
case "error":
{
logger.Error("Qrcode. ", err)
}
case "rate-limit":
{
err := w.deleteInstance(instance)
if err != nil {
logger.Info("a")
// logger.Error("Failed to destroy instance. ", err)
logger.Error("Failed to destroy instance. ", err)
}
return
}
Expand Down

0 comments on commit 0d6a3dc

Please sign in to comment.