Skip to content

Errors are not readable / prevent sourcemaps in console because of Zone.js #15185

Description

@tbosch

Zone.js replaces the global Error function.
This breaks logging of errors:

  • if a user calls new Error(...), the error is shown as an object instead of showing its stack
  • for SyntaxErrors, stack traces don't work correctly with sourcemaps.
  • source maps don't work on stack traces when long-strack-trace zones is used

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions