Skip to content

Commit

Permalink
Update error message for rate limit in postT function
Browse files Browse the repository at this point in the history
  • Loading branch information
devhindo committed Nov 6, 2024
1 parent a08faae commit ab2270e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/tweet/post.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func postT(url string, t Tweet) {
var r response
err = json.Unmarshal(body, &r)
if err != nil {
fmt.Printf("Failed to unmarshal response")
fmt.Printf("rate limit reached thanks Elon! Try again tomorrow when it resets, sorry.")
//Failed to unmarshal response.
return
}
Expand Down

0 comments on commit ab2270e

Please sign in to comment.