8000 The error handling in JsonResponse should not silent all errors · Issue #11415 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
The error handling in JsonResponse should not silent all errors #11415
Closed
@stof

Description

@stof

To make debugging easier, the error handling in

$this->data = @json_encode($data, $this->encodingOptions);
should not silent all errors but only the warnings coming from json_encode itself.

See cf71e22#commitcomment-7045622 for more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0