tina4-nodejs 3.11.16 → 3.11.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1104,7 +1104,9 @@ const handleBrokenResolve: RouteHandler = (req, res) => {
1104
1104
  };
1105
1105
 
1106
1106
  const handleBrokenClear: RouteHandler = (_req, res) => {
1107
- ErrorTracker.clearResolved();
1107
+ // "Clear All" button — flush every tracked error, not only the
1108
+ // ones individually marked resolved. Matches PHP/Python/Ruby.
1109
+ ErrorTracker.clearAll();
1108
1110
  res.json({ cleared: true });
1109
1111
  };
1110
1112