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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart

Issue 878983004: Update pub to look for VM's new error message text. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | « no previous file | sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart b/sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart
index bfd9f66f1ed668f87a0193ffb0d45a69be829149..65ba68f72ebe588c95c790b570093f8c6cfd97ba 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/transformer_isolate.dart
@@ -93,8 +93,9 @@ class TransformerIsolate {
// "package:" URI, so we have to be liberal in what we look for in the
// error message.
var missingTransformer = idsToUrls.keys.firstWhere((id) =>
- firstErrorLine.startsWith("Uncaught Error: Failure getting ") &&
- firstErrorLine.contains(idsToUrls[id].path),
+ firstErrorLine.startsWith(
+ "Uncaught Error: Load Error: Failure getting ") &&
+ firstErrorLine.contains(idsToUrls[id].path),
orElse: () => throw error);
var packageUri = idToPackageUri(idsToAssetIds[missingTransformer]);
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/test/transformer/fails_to_load_a_transform_with_an_import_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698