-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Identify how errors without a stack trace happen #5335
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
Comments
As far as I can tell from speaking to @AbhiPrasad the issue is happening with Safari and Chrome; therefore, they are two different JavaScript runtimes. I would research if they share the same message, If so, I would focus on understanding if they rely on some Operation System-level components to do network in the case of Otherwise, it will require investigating V8 and Safari Webkit to see where they are not giving enough insides. Also, I will assume that such an issue comes from internal components so that is why not much information is given, which leads me to maybe research how the Consoles are now giving you nice linking between async operations, it may be the case that there is a way to add some metadata or that they are doing it at a layer that we cant control and not much we can do other than loop-in Browser vendors. |
idea: (not mine) always throw a stack trace |
Is there a way to filter out issues that have used An example of an issue without a stack trace is this one. In this case, In other ways, the way the code is written allows for hidden up real issues. Another example is this one It seems to use In other cases, the issue believes to have a stack trace but in reality an exception level error was logged (They could have used an error level instead). See this issue and the screenshots below. It is possible that we're capturing a message in here as well. |
I do think that we could do a better job of using |
We validated that this is not big of a problem so I am closing this until there this problem becomes big enough. |
For context: #5334
For this to be resolved, we should identify how errors without stack traces happen, and how to reproduce them.
fetch
scenarios to check stack traceThe text was updated successfully, but these errors were encountered: