From: Michael Sweet Date: Tue, 20 Jun 2017 12:43:09 +0000 (-0400) Subject: Actually show the reason why PPD creation failed (Issue #5035) X-Git-Tag: v2.2.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=956bb1274c77ec9b8fe84f2f1099d51de002e078;p=thirdparty%2Fcups.git Actually show the reason why PPD creation failed (Issue #5035) --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 7f390f9f4d..49a05a4079 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -5366,7 +5366,7 @@ create_local_bg_thread( } } else - cupsdLogMessage(CUPSD_LOG_ERROR, "%s: PPD creation failed.", printer->name); + cupsdLogMessage(CUPSD_LOG_ERROR, "%s: PPD creation failed: %s", printer->name, cupsLastErrorString()); return (NULL); }