Gave PDF generation failure a more user-friendly error message