Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Replace throw of quoted strings with throw of Errors #48

Closed
natduca opened this issue Sep 22, 2014 · 3 comments
Closed

Replace throw of quoted strings with throw of Errors #48

natduca opened this issue Sep 22, 2014 · 3 comments

Comments

@natduca
Copy link
Contributor

natduca commented Sep 22, 2014

From nd...@chromium.org on June 16, 2012 22:20:21

The statement
throw 'someError'
does not capture a stack trace.

Whereas:
throw new Error('someError')
Does.

We should change to using error objects.

Original issue: http://code.google.com/p/trace-viewer/issues/detail?id=42

@natduca
Copy link
Contributor Author

natduca commented Sep 22, 2014

From nd...@chromium.org on June 19, 2012 00:35:15

Labels: GoodFirstBug

@natduca
Copy link
Contributor Author

natduca commented Sep 22, 2014

From brenda...@chromium.org on June 19, 2012 14:10:38

Status: Assigned

@natduca
Copy link
Contributor Author

natduca commented Sep 22, 2014

From brenda...@chromium.org on June 21, 2012 14:01:40

Status: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant