Add rate-limit records to output

This commit is contained in:
2022-10-19 10:33:01 -05:00
parent 0c37630754
commit 84ccd92a6e

View File

@ -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;
} }