Skip to content

Commit

Permalink
fix(promise): remove duplicate console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hmdhk committed Jun 14, 2017
1 parent 34ad4a7 commit f83f33d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/common/promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ Zone.__load_patch('ZoneAwarePromise', (global: any, Zone: ZoneType, api: _ZonePr
rejection instanceof Error ? rejection.message : rejection, '; Zone:',
(<Zone>e.zone).name, '; Task:', e.task && (<Task>e.task).source, '; Value:', rejection,
rejection instanceof Error ? rejection.stack : undefined);
} else {
console.error(e);
}
console.error(e);
}
};

Expand Down

0 comments on commit f83f33d

Please sign in to comment.