Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(587)

Unified Diff: lib/src/executable.dart

Issue 1098963002: Preserve the stack traces for load errors in isolates and iframes. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/load_exception_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/executable.dart
diff --git a/lib/src/executable.dart b/lib/src/executable.dart
index 843b47fd84bcae4bdad6adba9616ea0b05cefc7a..44871a2a2055f4d95edf11b7544f095a4ea34d89 100644
--- a/lib/src/executable.dart
+++ b/lib/src/executable.dart
@@ -195,7 +195,7 @@ transformers:
if (error is! LoadException) {
sink.addError(error, stackTrace);
} else {
- sink.add(new LoadExceptionSuite(error));
+ sink.add(new LoadExceptionSuite(error, stackTrace));
}
})).toList().then((suites) {
if (closed) return null;
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/load_exception_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698