Allow to hide error messages on frontend

Created on 18 February 2019, almost 6 years ago
Updated 12 April 2023, over 1 year ago

Hi, currently the module use drupal_set_message() to print error messages. Those errors are already logged using watchdog, the user message error should at least respect the global Drupal error messages settings (admin/config/development/logging). What do you think about?

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇹Italy finex

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States nathaniel

    It might make sense to do something similar to logging mailchimp_ecommerce_log_error_message().

    Maybe: \Drupal::service('mailchimp_ecommerce.helper')->addErrorMessage();

    Then it would be easy to add one check / setting to display all error messages. It looks like all of the messenger addError calls are for API error messages.

Production build 0.71.5 2024