error-tracker icon indicating copy to clipboard operation
error-tracker copied to clipboard

Make items in stacktrace clickable

Open gmile opened this issue 8 months ago • 0 comments

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

gmile avatar May 05 '25 17:05 gmile