Skip to content
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

Error.throwWithStackTrace hides type and message of error #55938

Closed
OlehSv opened this issue Jun 5, 2024 · 3 comments
Closed

Error.throwWithStackTrace hides type and message of error #55938

OlehSv opened this issue Jun 5, 2024 · 3 comments
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. web-dart2js

Comments

@OlehSv
Copy link

OlehSv commented Jun 5, 2024

Thank you for taking the time to file an issue!

This tracker is for issues related to:

  • Dart core libraries (dart:async, dart:io, etc.)
  • Dart version: 3.3.0

It prints to DEBUG CONSOLE

Error (Just one hardcoded word)
Some StackTrace

While I want to see

Value of ${Error.toString()}
Some StackTrace

For me it is problem as _RootZone is using this function for print unhandled errors

@OlehSv OlehSv changed the title Error.throwWithStackTrace hides name of error Error.throwWithStackTrace hides type and message of error Jun 5, 2024
@biggs0125
Copy link

Duplicate of #55891

@biggs0125 biggs0125 marked this as a duplicate of #55891 Jun 5, 2024
@biggs0125 biggs0125 added area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. web-dart2js labels Jun 5, 2024
@nshahan
Copy link
Contributor

nshahan commented Jun 5, 2024

@OlehSv You can +1 the chrome issue if you want to follow the discussion there.
https://g-issues.chromium.org/issues/344629939

@kevmoo
Copy link
Member

kevmoo commented Jun 5, 2024

Yes, please 👍 #55891

Closing as duplicate of #55891

@kevmoo kevmoo closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. web-dart2js
Projects
None yet
Development

No branches or pull requests

4 participants