log error instead of barfing when queuing a work item fails during auto analyze
@@ -1071,8 +1071,9 @@ public class WorkMgr extends AbstractCoordinator {
if (autoAnalyze) {
for (WorkItem workItem : getAutoWorkQueue(containerName, testrigName)) {
- if (!queueWork(workItem)) {
- throw new BatfishException("Unable to queue work while auto processing: " + workItem);
+ boolean queued = queueWork(workItem);
+ if (!queued) {
+ _logger.errorf("Unable to queue work while auto processing: %s", workItem);
}
}
}
