Handle ignoredMessages JS config

Created on 6 April 2023, over 1 year ago
Updated 12 March 2024, 7 months ago

Problem/Motivation

The current implementation of the Rollbar module doesn't provide a way to specify ignored messages for the Rollbar JS client. Users need the ability to ignore specific error messages that they don't want to report to Rollbar.

Steps to reproduce

Install and enable the Rollbar module.
Configure the module with your Rollbar access tokens and settings.
Notice there is no option in the configuration form to specify ignored messages for the Rollbar JS client.

Proposed resolution

Add a new configuration field to the Rollbar settings form to allow users to specify ignored messages as a newline-separated list.
Convert the newline-separated list to an array when reading the configuration.
Pass the array of ignored messages to the Rollbar JS client configuration.

Remaining tasks

Implement the proposed resolution.
Update the documentation to include information about the new configuration field.
Test the changes in various environments.

User interface changes

A new textarea field for "Ignored Messages" will be added to the Rollbar settings form.

API changes

No API changes are required.

Data model changes

A new configuration value, ignored_messages, will be added to the Rollbar module's configuration data model.

📌 Task
Status

Fixed

Version

2.1

Component

Code

Created by

🇭🇺Hungary Aron Novak Hungary, Budapest

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024