Closed sitedyno closed 7 years ago
Reddit was blocking requests because the bot was using guzzle's default user agent. This would have made it a tad easier to see why.
This will put something like the following in your log on a failed request:
[2017-03-24 18:42:23] phergie.DEBUG: [Http][58d5a0cf3ccc8] ["Client error response [url] http://not-a-real-url.com/ [status code] 429 [reason phrase] Too Many Requests"] []
Thanks :+1:
Reddit was blocking requests because the bot was using guzzle's default user agent. This would have made it a tad easier to see why.
This will put something like the following in your log on a failed request: