Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 9d3cd3e

Browse files
committed
test
1 parent 5e152d9 commit 9d3cd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common/error-rewrite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Zone.__load_patch('Error', (global: any, Zone: ZoneType, api: _ZonePrivate) => {
276276
// On safari it is possible to have stack frame with no line number.
277277
// This check makes sure that we don't filter frames on name only (must have
278278
// line number)
279-
if (/:\d+:\d+/.test(frame)) {
279+
if (/:\d+:\d+/.test(frame) || frame === 'ZoneAwareError') {
280280
// Get rid of the path so that we don't accidentally find function name in path.
281281
// In chrome the separator is `(` and `@` in FF and safari
282282
// Chrome: at Zone.run (zone.js:100)

0 commit comments

Comments
 (0)