mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add rate-limit records to output
This commit is contained in:
@ -129,6 +129,7 @@ public class APIInsertAction extends AbstractAPIAction implements InsertInterfac
|
|||||||
{
|
{
|
||||||
LOG.warn("Giving up POST to [" + table.getName() + "] after too many rate-limit errors (" + apiActionUtil.getMaxAllowedRateLimitErrors() + ")");
|
LOG.warn("Giving up POST to [" + table.getName() + "] after too many rate-limit errors (" + apiActionUtil.getMaxAllowedRateLimitErrors() + ")");
|
||||||
record.addError("Error: " + rle.getMessage());
|
record.addError("Error: " + rle.getMessage());
|
||||||
|
insertOutput.addRecord(record);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user