1
0
mirror of https://github.com/Qortal/qortal.git synced 2025-07-26 11:41:24 +00:00

Improved format of error messages

This commit is contained in:
CalDescent
2021-11-05 14:38:10 +00:00
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();