Allow to hide error messages on frontend

Created on 18 February 2019, over 5 years ago
Updated 12 April 2023, about 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.

  • 🇺🇸United States Nathaniel
Production build 0.69.0 2024