1
0
mirror of https://github.com/Qortal/qortal.git synced 2025-05-21 17:06:58 +00:00

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

@ -61,6 +61,7 @@ public class ArbitraryDataBuildManager implements Runnable {
LOGGER.info("Finished building {}", queueItem);
} catch (IOException | DataException e) {
LOGGER.info("Error building {}: {}", queueItem, e.getMessage());
// 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
this.removeFromQueue(resourceId);