Improved format of error messages

This commit is contained in:
CalDescent 2021-11-05 14:38:10 +00:00
parent 0601ffbb34
commit ea2ca37abe

View File

@ -71,7 +71,7 @@ public class ArbitraryDataTransactionBuilder {
arbitraryDataWriter.save();
} catch (IOException | DataException | InterruptedException | RuntimeException | MissingDataException e) {
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();