D7: Don't show "Resource is already unpublished" in error log

Created on 5 July 2023, almost 2 years ago
Updated 19 July 2023, almost 2 years ago

Problem/Motivation

When unpublishing something that's already unpublished, this is logged: "Resource is already unpublished". It would be nice not to see these.

Steps to reproduce

Unpublish something and then seed again and look at logs.

Proposed resolution

Don't log the error if it's already been unpublished.

Remaining tasks

  1. Update code
  2. Review and test
  3. Commit :)

User interface changes

Less noise in the logs.

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

User interface

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