alfio-event / alf.io

alf.io - The open source ticket reservation system for conferences, trade shows, workshops, meetups
https://alf.io
GNU General Public License v3.0
1.35k stars 341 forks source link

Fix logging statement #1370

Open logresearch opened 6 days ago

logresearch commented 6 days ago

Description:

This is an incremental change for the logging statement. This PR updates the logging statement within the generateSubscriptionPDF function to improve clarity. The new logging statement provides a more straightforward description of the error.

Changes:

  1. Updated Logging Statement:
    • Changed the logging statement from:
      log.warn("was not able to generate subscription pdf for " + subscription.getId(), e);

      to:

      log.warn("Failed to generate subscription pdf for " + subscription.getId(), e);

same as the other two code change.