Don't log Quant unpublish errors when content is a 404

Created on 29 November 2023, 12 months ago
Updated 20 January 2024, 10 months ago

Problem/Motivation

When there is unpublished content or an alias that is no longer in use and there is an unpublish call to Quant for that path, there is a 404 error in the Drupal logs for that path which is unnecessary.

Steps to reproduce

Proposed resolution

Only show the error when unpublishing if it's not a 404 error.

Remaining tasks

  • Update code
  • Review and test
  • Commit :)

User interface changes

Won't see unpublish errors in the logs when content is already unpublished.

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024