tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit d0918f4e741af7374483ce50638a3bde418210e0
parent 31584e39b3b37c4e38c51bb8ab6d94e2e5970237
Author: Julian Descottes <jdescottes@mozilla.com>
Date:   Wed, 29 Oct 2025 13:36:06 +0000

Bug 1997041 - [devtools] Fix error message from redux ignore middleware r=devtools-reviewers,nchevobbe

Currently the error message is abruptly truncated, for instance:

> [REDUX_MIDDLEWARE_IGNORED_REDUX_ACTION] Dispatching 'MESSAGES_ADD

Differential Revision: https://phabricator.services.mozilla.com/D270459

Diffstat:
Mdevtools/client/shared/redux/middleware/ignore.js | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devtools/client/shared/redux/middleware/ignore.js b/devtools/client/shared/redux/middleware/ignore.js @@ -23,8 +23,9 @@ function ignore({ getState }) { if (getState()[IGNORING]) { // Throw to stop execution from the callsite and prevent any further code from running throw new Error( - "[REDUX_MIDDLEWARE_IGNORED_REDUX_ACTION] Dispatching '" + action.type || - action + "' action after panel's closing" + "[REDUX_MIDDLEWARE_IGNORED_REDUX_ACTION] Dispatching '" + + (action.type || action) + + "' action after panel's closing" ); }