Skip to content

[TASK] Add file path to ViewHelper exception messages#1346

Merged
s2b merged 1 commit intomainfrom
task/viewHelperExceptionFile
Mar 9, 2026
Merged

[TASK] Add file path to ViewHelper exception messages#1346
s2b merged 1 commit intomainfrom
task/viewHelperExceptionFile

Conversation

@s2b
Copy link
Copy Markdown
Contributor

@s2b s2b commented Mar 9, 2026

If the path to the current template file is available, exceptions
from ViewHelpers now also contain this information to make debugging
easier. To achieve that, all ViewHelper exceptions are wrapped in
an outer exception which extends the original exception message. This
new behavior can be disabled by registering a custom error handler
in the rendering context.

If the path to the current template file is available, exceptions
from ViewHelpers now also contain this information to make debugging
easier. To achieve that, all ViewHelper exceptions are wrapped in
an outer exception which extends the original exception message. This
new behavior can be disabled by registering a custom error handler
in the rendering context.
@s2b s2b force-pushed the task/viewHelperExceptionFile branch from 29b26a8 to a3ee594 Compare March 9, 2026 14:08
@s2b s2b merged commit 8150963 into main Mar 9, 2026
10 checks passed
@s2b s2b deleted the task/viewHelperExceptionFile branch March 9, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants