File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/it/eng/dome/billing/proxy/controller Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -233,10 +233,10 @@ private String getApplyTaxesRequestDTOtoJson(String appliedCustomerBillingRateLi
233233 * @param product The Product that must be billed
234234 * @return A list of BillingRequestDTO
235235 */
236- private List <BillingRequestDTO > getProductPricesAntTimePeriodGroupsForNow (Product product ) throws Throwable {
236+ private List <BillingRequestDTO > getProductPricesAntTimePeriodGroupsForNow (Product product ) throws Throwable {
237237 try {
238238
239- List <BillingRequestDTO > brDTOList = new ArrayList <BillingRequestDTO >();
239+ List <BillingRequestDTO > brDTOList = new ArrayList <BillingRequestDTO >();
240240
241241 List <ProductPrice > pprices = product .getProductPrice ();
242242 logger .debug ("Number of ProductPrices found: {} " , pprices .size ());
@@ -308,8 +308,7 @@ private List<BillingRequestDTO> getProductPricesAntTimePeriodGroupsForNow(Produc
308308 return brDTOList ;
309309
310310 } catch (Exception e ) {
311- // TODO Auto-generated catch block
312- e .printStackTrace ();
311+ logger .error ("Error: {}" , e .getMessage ());
313312 return null ;
314313 }
315314
You can’t perform that action at this time.
0 commit comments