Commit Graph

2 Commits

Author SHA1 Message Date
nweiz@google.com 7cf1ba97ad Properly handle errors thrown in [Chain.capture]'s [onError] handler.
The Zone infrastructure apparently doesn't automatically pipe errors
to the parent Zone (issue 18134).

R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//232123003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34904 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 23:49:16 +00:00
nweiz@google.com 35dc712dd5 Add a stack chain class to the stack trace package.
This class uses zones to track stack traces across asynchronous boundaries. It
will aid considerably in debugging errors in heavily-asynchronous programs.

R=floitsch@google.com, rnystrom@google.com
BUG=7040

Review URL: https://codereview.chromium.org//75863004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30738 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 23:03:49 +00:00