Skip to content

DX: Provide application context when there's an exception #145

Description

@g105b

The most common example of this issue is when the ServiceNotFoundException is thrown. The stack trace will show where the invoker was called (typically the framework), rather than where in the application code requested the service.

It would be really useful to either change the stack trace in the exception, or provide some kind of context to the exception's message of what file/function/line originally triggered the invoker.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviour

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions