Skip to content

Conversation

sovdeeth
Copy link
Member

Problem

RuntimeErrorManager enforced a standard filtering system for all consumers based on the values in config.sk. This meant that the runtime error catcher could not adequately catch errors, since they would be suppressed after reaching the limits. A per-consumer filtering system was needed.

Solution

Allows each consumer to provide its own filter, or null for no filter. Defaults to the standard config-driven filter.
REManager internally uses a filter->set map to avoid giving a filter the same error twice.

Testing Completed

Manual testing and edits to existing tests to ensure functionality.

Supporting Information


Completes: #7921
Related: none

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Sep 18, 2025
@sovdeeth sovdeeth requested a review from a team as a code owner September 18, 2025 03:25
@sovdeeth sovdeeth added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Sep 18, 2025
@sovdeeth sovdeeth requested review from TheMug06 and removed request for a team September 18, 2025 03:25
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Sep 18, 2025
Copy link
Contributor

@Absolutionism Absolutionism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 🔥

@Absolutionism Absolutionism moved this to In Review in 2.13 Releases Sep 18, 2025
@Absolutionism Absolutionism linked an issue Sep 18, 2025 that may be closed by this pull request
1 task
Copy link
Member

@APickledWalrus APickledWalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems generally ok

@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.13 Releases Sep 30, 2025
@skriptlang-automation skriptlang-automation bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Oct 1, 2025
@sovdeeth sovdeeth merged commit 6070e7c into SkriptLang:dev/feature Oct 1, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.13 Releases Oct 1, 2025
@skriptlang-automation skriptlang-automation bot added completed The issue has been fully resolved and the change will be in the next Skript update. and removed feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
Status: Done - Awaiting Release
Development

Successfully merging this pull request may close these issues.

RuntimeErrorManager prohibits RuntimeErrorCatcher
3 participants