avoid sending analytics on ci systems (#3765)

* avoid sending analytics on ci systems

* review comments
This commit is contained in:
Devon Carew
2016-05-05 19:51:22 -07:00
parent 153e1bb918
commit bd564a02af
8 changed files with 37 additions and 15 deletions

View File

@@ -102,7 +102,7 @@ Future<Null> main(List<String> args) async {
flutterUsage.sendException(error, chain);
if (Platform.environment.containsKey('FLUTTER_DEV')) {
if (Platform.environment.containsKey('FLUTTER_DEV') || isRunningOnBot) {
// If we're working on the tools themselves, just print the stack trace.
stderr.writeln('$error');
stderr.writeln(chain.terse.toString());