forked from Qortal/qortal
Improved format of error messages
This commit is contained in:
parent
0601ffbb34
commit
ea2ca37abe
@ -71,7 +71,7 @@ public class ArbitraryDataTransactionBuilder {
|
|||||||
arbitraryDataWriter.save();
|
arbitraryDataWriter.save();
|
||||||
} catch (IOException | DataException | InterruptedException | RuntimeException | MissingDataException e) {
|
} catch (IOException | DataException | InterruptedException | RuntimeException | MissingDataException e) {
|
||||||
LOGGER.info("Unable to create arbitrary data file: {}", e.getMessage());
|
LOGGER.info("Unable to create arbitrary data file: {}", e.getMessage());
|
||||||
throw new DataException(String.format("Unable to create arbitrary data file: %s", e.getMessage()));
|
throw new DataException(e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
arbitraryDataFile = arbitraryDataWriter.getArbitraryDataFile();
|
arbitraryDataFile = arbitraryDataWriter.getArbitraryDataFile();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user