custom file prefix in error stack
See original GitHub issueWhen you “translate” an error stack line with source maps here you add a file:///
prefix to the file path.
This makes it impossible to use “CTRL+Click” to open the file at line/column which would be incredibly useful.
I dont know why you do this but i suppose it is to get this to work on another IDE.
Can you make this customizable ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Discord Python Rewrite - Custom Server Prefixes Error
Float is a function, not the file. I edited the code you posted, try using this: def get_prefix(client, message): with open('prefixes.json', ...
Read more >How to choose an appropriate error prefix? [closed]
How can I figure out appropriate error prefixes to use when reporting various kinds of errors? Is there are guideline or overview of...
Read more >Update a CloudFormation stack when a custom-named ... - AWS
This error typically occurs when a stack update tries to replace resources that have properties with custom names. AWS CloudFormation doesn't replace a ......
Read more >Error.prototype.stack - JavaScript - MDN Web Docs - Mozilla
The non-standard stack property of an Error instance offers a trace of which functions were called, in what order, from which line and...
Read more >Error handling and messages for Community Connectors
To provide user-friendly error messages to non-admin users include the DS_USER: prefix with error messages. This prefix is used to identify safe ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @farfromrefug , I’ve used
file:
(note the space at the end), just to keep the output as similar as possible to the current one. I’ve also tested it in VSCode’s terminal and I was able to click on the link and it navigated to the correct file and even the exact line.@rosen-vladimirov found another issue
the file in webpack is
../../src/opencv.android.ts
. Though the cli still addsapp/
in front so vscode cant pick up the link