Skip to content

Exception rendering with other view renderers #1963

@DevPandi

Description

@DevPandi

Tempest version

3.0.1

PHP version

8.4

Operating system

macOS

Description

Hello everyone,

On the one hand, I'm excited about version 3.0.1 and the new features, but at the same time—and now I'm being a typical Berliner—you've totally messed up the exception handling.

You offer the option to replace the template engine, which is a great idea. However, with your new exception handling, you're triggering a cascade of errors that makes debugging impossible during development and theoretically means that I not only have to replace the template engine, but also the entire exception handling.

It would be important at this point for you to overwrite the ViewRenderer/TemplateRenderer in the appropriate place for your exception handling.

I generally find it a bit unsightly that you use such a “complex” solution for exceptions, but that's just a matter of personal taste.

Image

Steps to reproduce

Use Twig or Blade as Renderer for the Views.

Metadata

Metadata

Labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions