Revert "Add temporary debug prints to identify devicelab failures (#19093)" (#19095)

This reverts commit edc16473bf.
This commit is contained in:
Danny Tuppeny
2018-07-05 17:58:26 +01:00
committed by Mikkel Nygaard Ravn
parent edc16473bf
commit 5413560415

View File

@@ -128,11 +128,8 @@ Future<Map<String, double>> _readJsonResults(Process process) {
process.kill(ProcessSignal.SIGINT); // flutter run doesn't quit automatically
final String jsonOutput = jsonBuf.toString();
try {
print('[DEBUG:DANTUP] Completing successfully');
completer.complete(json.decode(jsonOutput));
print('[DEBUG:DANTUP] (done)');
} catch (ex) {
print('[DEBUG:DANTUP] Decoding JSON failed ($ex). JSON string was: $jsonOutput');
completer.completeError('Decoding JSON failed ($ex). JSON string was: $jsonOutput');
}
return;
@@ -148,7 +145,6 @@ Future<Map<String, double>> _readJsonResults(Process process) {
stderrSub.cancel(),
]);
if (!processWasKilledIntentionally && code != 0) {
print('[DEBUG:DANTUP] Completing with failure due to exit code=$code');
completer.completeError('flutter run failed: exit code=$code');
}
});