mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-14 11:15:49 +00:00
Fixed/improved logging when an exception is caught whilst adding statuses to resources.
This commit is contained in:
parent
0ec5e39517
commit
5a1cc7a0de
@ -20,6 +20,11 @@ public class ArbitraryResourceInfo {
|
|||||||
public ArbitraryResourceInfo() {
|
public ArbitraryResourceInfo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return String.format("%s %s %s", name, service, identifier);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object o) {
|
public boolean equals(Object o) {
|
||||||
if (o == this)
|
if (o == this)
|
||||||
|
@ -455,7 +455,7 @@ public class ArbitraryTransactionUtils {
|
|||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Catch and log all exceptions, since some systems are experiencing 500 errors when including statuses
|
// Catch and log all exceptions, since some systems are experiencing 500 errors when including statuses
|
||||||
LOGGER.info("Caught exception when adding status to resource %s: %s", resourceInfo, e.toString());
|
LOGGER.info("Caught exception when adding status to resource {}: {}", resourceInfo, e.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return updatedResources;
|
return updatedResources;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user