Skip to content

Convert legacy exceptions in the script runner instead of the engine - #23286

Draft
remyhaemmerle-da wants to merge 1 commit into
mainfrom
remy-legacy-convertion
Draft

Convert legacy exceptions in the script runner instead of the engine#23286
remyhaemmerle-da wants to merge 1 commit into
mainfrom
remy-legacy-convertion

Conversation

@remyhaemmerle-da

Copy link
Copy Markdown
Collaborator

Always invoke the engine with convertLegacyExceptions = false and perform the legacy exception -> FailureStatus conversion in the script Runner. The conversion logic is consolidated on Runner and reused from ScriptF.Throw, removing the duplicated implementation.

Also make convertLegacyExceptions an explicit parameter (no default) and drop the now-unused Free.getResult.

…ad of the engine

Always invoke the engine with `convertLegacyExceptions = false` and perform the
legacy exception -> FailureStatus conversion in the script Runner. The conversion
logic (makeFailureStatus and convertLegacyException) is consolidated on Runner and
reused from ScriptF.Throw, removing the duplicated implementation.

Also make convertLegacyExceptions an explicit parameter (no default)
and drop the now-unused Free.getResult.
@remyhaemmerle-da remyhaemmerle-da added the no-release-notes Apply this label to skip the UNRELEASED.md modification check label Aug 13, 2026
@remyhaemmerle-da
remyhaemmerle-da marked this pull request as draft August 13, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release-notes Apply this label to skip the UNRELEASED.md modification check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant