Skip to content

Commit 46711ea

Browse files
committed
Log debug history if the backend fails (Issue #1205)
1 parent f2d3da4 commit 46711ea

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Changes in CUPS v2.4.12 (YYYY-MM-DD)
77

88
- GnuTLS follows system crypto policies now (Issue #1105)
99
- Added `NoSystem` SSLOptions value (Issue #1130)
10+
- The scheduler now logs a job's debugging history if the backend fails
11+
(Issue #1205)
1012
- Fixed a potential "lost PPD" condition in the scheduler (Issue #1109)
1113
- Fixed a compressed file error handling bug (Issue #1070)
1214
- Fixed a bug in the make-and-model whitespace trimming code (Issue #1096)

scheduler/job.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,9 +3605,7 @@ finalize_job(cupsd_job_t *job, /* I - Job */
36053605

36063606
if (job->history)
36073607
{
3608-
if (job->status &&
3609-
(job->state_value == IPP_JOB_ABORTED ||
3610-
job->state_value == IPP_JOB_STOPPED))
3608+
if (job->status)
36113609
dump_job_history(job);
36123610
else
36133611
free_job_history(job);

0 commit comments

Comments
 (0)