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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 3233518-develop_a_debug_mode-3.patch | 3.12 KB | pjbaert |
Comments
Comment #2
pjbaertComment #3
pjbaertThis 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.
Comment #4
tim-dielsTested and works. RTBC
Comment #6
pjbaertThis feature was pushed to the 8.x-2.x dev branch