Skip to content

[ErrorHandler] Display more information about the current exception #49613

Closed
@lyrixx

Description

@lyrixx

Description

ATM, when an exception is thrown, we display only the message.
But, much more information can be embedded in the exception class.

It's possible to get theses informations via the profiler > logs > errors > context > expand.
It needs 3 click to be able to get them.

I think I would be much more convenient to display all theses information right away on the exception page.

Example

Before:

image

And with a click in the toolbar > context > expand

image

After:

  • ⚠️ I made a very quick and dirty POC to see if it's doable and easy
  • The "exception data" text is a toggle, off by default

image


so the question is: Should I open a PR to ship that in SF? (of course, with a better code and look and feel 😂)

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