This question already has an answer here:
The API has a Throttle on the number of requests you can make. So we queue our requests in a local database and make as many requests as possible until the "Throttle exception" is thrown. Upon catching we exit the program and a scheduled task starts the process over again in 15 minutes.
Is it standard to log this type of exception or just exit the program since this exception is expected