Skip to content

Improve the deprecation logs in the profiler #28818

Closed
@javiereguiluz

Description

@javiereguiluz

Symfony version(s) affected: all

Description
We're updating Symfony Demo to 4.2.x-dev to find deprecations and bugs. Sadly, lots of deprecation logs show information that is not useful.

For example in this one, the error message is very clear ... but I want to see more context info, such as the file where this happens, ideally the line too, etc.

deprecation-1

However, if I click on "Show trace", the info is not useful:

deprecation-2

If I click on "Show context", I get the same "not useful" info:

deprecation-3


Am I doing something wrong ... or should we improve this? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions