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-30 00:07:19 +00:00
parent 7b834e02ec
commit 68a581a04c
9 changed files with 19 additions and 25 deletions
@@ -52,6 +52,6 @@ class ReflectionRemover extends Transformer {
mirrorMode: mirrorMode, writeStaticInit: writeStaticInit);
transform.addOutput(
new Asset.fromString(transform.primaryInput.id, transformedCode));
}, errorMessage: 'Removing reflection failed.');
});
}
}