Problem/Motivation

When a GuzzleException $error is triggered, we log this to Watchdog & show a Drupal message.
Logging this is fine, but the Drupal message is a bit intrusive.

Proposed resolution

Create a 'debug' checkbox on the settings page, that is disabled by default.
We only show the Drupal messages when the debug setting is checked.

Comments

pjbaert created an issue. See original summary.

pjbaert’s picture

Assigned: Unassigned » pjbaert
pjbaert’s picture

Assigned: pjbaert » Unassigned
Status: Active » Needs review
StatusFileSize
new3.12 KB
new325.55 KB

This patch adds a 'Show debug messages' option on the settings page.
Only if this option is enabled, we'll show the error messages in the frontend.

debug messages

tim-diels’s picture

Status: Needs review » Reviewed & tested by the community

Tested and works. RTBC

  • pjbaert committed 0a62498 on 8.x-2.x
    Issue #3233518 by pjbaert, tim-diels: Develop a debug mode
    
pjbaert’s picture

Status: Reviewed & tested by the community » Fixed

This feature was pushed to the 8.x-2.x dev branch

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.