Skip to content

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

@tbosch

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions