fix(dart/transform): Remove malfunctioning zone error handler

Remove `onError` zone callback which is consuming exceptions thrown by
the `Transformer`s and can cause `pub` to become unresponsive.

Closes #3368
This commit is contained in:
Tim Blasi
2015-07-29 14:28:14 -07:00
parent 7b834e02ec
commit 68a581a04c
9 changed files with 19 additions and 25 deletions

View File

@ -35,6 +35,6 @@ class TemplateCompiler extends Transformer {
var transformedCode = formatter.format(await processTemplates(reader, id,
generateChangeDetectors: options.generateChangeDetectors));
transform.addOutput(new Asset.fromString(id, transformedCode));
}, errorMessage: 'Parsing ng templates failed.');
});
}
}