forked from Qortal/qortal
Improved logging
This commit is contained in:
parent
8d1a58ec06
commit
3d99f86630
@ -96,7 +96,7 @@ public class ArbitraryDataFile {
|
||||
this.filePath = outputFilePath;
|
||||
// Verify hash
|
||||
if (!this.hash58.equals(this.digest58())) {
|
||||
LOGGER.error("Hash {} does not match file digest {}", this.hash58, this.digest58());
|
||||
LOGGER.error("Hash {} does not match file digest {} for signature: {}", this.hash58, this.digest58(), Base58.encode(signature));
|
||||
this.delete();
|
||||
throw new DataException("Data file digest validation failed");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user