avoid sending analytics on ci systems (#3765)
* avoid sending analytics on ci systems * review comments
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user