Skip to content

Commit

Permalink
Update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vlaskhilkevich committed Jul 26, 2024
1 parent 215a621 commit 3ed2e61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ private InvoiceItem createTaxInvoiceItem(final InvoiceItem taxableItem, final UU
}

if (taxRate == null) {
logger.info("Tax rate is not presented in vertex response for tax item id: {}, calculated tax: {}", taxItem.getId(), calculatedTax);
logger.info("The tax rate is not provided in the Vertex response for the tax item with ID: {} and calculated tax: {}", taxItem.getId(), calculatedTax);
taxRate = calculatedTax.divide(taxableItem.getAmount(), 5, RoundingMode.HALF_UP).doubleValue();
}

Expand Down Expand Up @@ -365,7 +365,7 @@ private String createTaxItemDetails(@Nonnull final Map<String, Object> taxItemDe
try {
return objectMapper.writeValueAsString(taxItemDetails);
} catch (JsonProcessingException exception) {
logger.error("Couldn't serialize tax item details: {}", taxItemDetails, exception);
logger.error("Couldn't serialize the tax item details: {}", taxItemDetails, exception);
return null;
}
}
Expand Down

0 comments on commit 3ed2e61

Please sign in to comment.