forked from Qortal/qortal
Log the error if a build fails.
This commit is contained in:
parent
9a88c0d579
commit
2eedafd506
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user