From 53f9d6869d9e094b3240eb542744aa196fbd12cb Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sat, 13 Nov 2021 16:52:02 +0000 Subject: [PATCH] Improved logging when a resource has no identifier --- .../java/org/qortal/arbitrary/ArbitraryDataBuildQueueItem.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/qortal/arbitrary/ArbitraryDataBuildQueueItem.java b/src/main/java/org/qortal/arbitrary/ArbitraryDataBuildQueueItem.java index 35f0318f..e048da69 100644 --- a/src/main/java/org/qortal/arbitrary/ArbitraryDataBuildQueueItem.java +++ b/src/main/java/org/qortal/arbitrary/ArbitraryDataBuildQueueItem.java @@ -88,6 +88,9 @@ public class ArbitraryDataBuildQueueItem { @Override public String toString() { + if (this.identifier == null) { + return String.format("%s %s", this.service, this.resourceId); + } return String.format("%s %s %s", this.service, this.resourceId, this.identifier); }