diff --git a/src/main/java/alfio/manager/NotificationManager.java b/src/main/java/alfio/manager/NotificationManager.java index 8f534a2c1..9626c30dd 100644 --- a/src/main/java/alfio/manager/NotificationManager.java +++ b/src/main/java/alfio/manager/NotificationManager.java @@ -167,7 +167,7 @@ private static Function, byte[]> generateTicketPDF(EventRepo TemplateProcessor.getSubscriptionDetailsModelForTicket(ticket, subscriptionRepository::findDescriptorBySubscriptionId, locale), additionalServiceHelper.findForTicket(ticket, event)); } catch (IOException e) { - log.warn("was not able to generate ticket pdf for ticket with id" + ticket.getId(), e); + log.warn("Failed to generate ticket pdf for ticket with id" + ticket.getId(), e); } return baos.toByteArray(); }; @@ -257,7 +257,7 @@ private static Function, byte[]> receiptOrInvoiceFactory(Pur reservationEmailModel.put("event", purchaseContext); if(receipt.isEmpty()) { - log.warn("was not able to generate the receipt for reservation id " + reservationId + " for locale " + language); + log.warn("Failed to generate the receipt for reservation id " + reservationId + " for locale " + language); } return receipt.orElse(null); }; @@ -561,7 +561,7 @@ private static Function, byte[]> generateSubscriptionPDF(Org extensionManager, purchaseContextFieldManager); } catch (IOException e) { - log.warn("was not able to generate subscription pdf for " + subscription.getId(), e); + log.warn("Failed to generate subscription pdf for " + subscription.getId(), e); } return baos.toByteArray(); };