No logging in markupFromRoute when response is non-200

Created on 4 November 2023, 8 months ago
Updated 20 January 2024, 5 months ago

Problem/Motivation

When debugging [#] I saw that the:

        $messenger = \Drupal::messenger();
        $messenger->addMessage("Non-200 response for {$route}: " . $response->getStatusCode(), $messenger::TYPE_WARNING);

wasn't showing anything when creating unpublished terms or nodes.

Steps to reproduce

  1. Configure Quant
  2. Create an unpublished taxonomy term
  3. Look at the logs
  4. Create an unpublished node
  5. Look at the logs

Proposed resolution

Add logging.

Remaining tasks

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

User interface changes

User can see non-200 logs.

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.69.0 2024