-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show error cause reccursion information #13413
Comments
Going to attempt to pick this issue up. Will take me some time to familiarize myself with everything |
Hello there! This issue is still open for contribuitons ? I would start by addeding another option for errors here at errors or somewhere else ? How could I test this ? |
Hey @Grubba27, @rushilmehra is still working on this, but feel free to take a stab at this. We implemented this in the object inspection recently (#13555); obviously this wont map to rust, but it might still give some ideas.
Take a look at #13209, we changed https://github.com/denoland/deno/blob/main/core/error.rs.
In the issue description i have linked a file with the testcase.
Not sure what you mean. |
Is someone still working on this? I would like to grab this issue. |
I’m still taking a look, but I’ve been really busy at work. Feel free to take a stab. |
Alright, I'll try something out and send the updates here, thanks! |
@rushilmehra could you give some pointers later about where can I start? Only if it doesn't bothers you, I would appreciate it |
Take a look at @crowlKats comment earlier in the thread, it provides some good starting points. Feel free to study node’s implementation as well |
Nice, thanks for the tip! |
I think that maybe only the I didn't manage to go through it yet because of work too, but feel free to take a stab. |
Is someone still working on this? If not, I'd like to take over I've got the sample test file covered Open points
Detecting circular references has proven challenging, because @crowlKats I've looked at your circular detection for object inspection, thanks for the link! Am I right to assume that in this issue there is at most 1 circular reference, as the |
I couldn't get a solution working, feel free to take over |
Feature is implemented in https://github.com/Cre3per/deno/tree/circular-cause-in-error There's a decent chance I've missing some scenarios when |
Closed in #16384 |
Node does this
(code tested is https://github.com/denoland/deno/blob/167982be9e7af35e6c12ef6c40c002200bf5e0c0/cli/tests/testdata/error_cause_recursive.ts)
We should do the same
The text was updated successfully, but these errors were encountered: