Skip to content

Make items in stacktrace clickable #152

Open
@gmile

Description

@gmile

Is your feature request related to a problem? Please describe.

When viewing the stacktrace for an error, I need to copy-paste the file/line location, open editor, find it in the editor. Together, it takes multiple mouse clicks before I am able to navigate to the faulty line in the code.

Describe the solution you'd like
I'd like to be able to click on file/line location entry in the stacktrace, and take me straight to GitHub with that line of code open.

Describe alternatives you've considered
None.

Additional context
To be able to reliably get to the code, a few things are needed to be configured: location of the repository the app exists on, current revision. With both in place, it should be possible to jump to, for example: https://github.com/blockscout/blockscout/blob/f0d84e2d3022fe5cf65178739e01f9873e8386ce/apps/block_scout_web/lib/block_scout_web/controllers/address_controller.ex#L66

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions