Skip to content

[HttpCache] Exceptions are not catched when reloading #10437

@panrafal

Description

@panrafal

If allow_reload is true, the resource is reloaded without catching exceptions. This is because return $this->fetch($request); is missing the $catch parameter.

Is this by design?

LOC:
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php#L311

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions