Log the error if a build fails.

This commit is contained in:
CalDescent 2021-08-18 09:58:59 +01:00
parent 9a88c0d579
commit 2eedafd506

View File

@ -61,6 +61,7 @@ public class ArbitraryDataBuildManager implements Runnable {
LOGGER.info("Finished building {}", queueItem); LOGGER.info("Finished building {}", queueItem);
} catch (IOException | DataException e) { } catch (IOException | DataException e) {
LOGGER.info("Error building {}: {}", queueItem, e.getMessage());
// Something went wrong - so remove it from the queue // Something went wrong - so remove it from the queue
// TODO: we may want to keep track of this in a "cooloff" list to prevent frequent re-attempts // TODO: we may want to keep track of this in a "cooloff" list to prevent frequent re-attempts
this.removeFromQueue(resourceId); this.removeFromQueue(resourceId);