anchor.diff:      print("Running suite");
       Isolate isolate = await Isolate.spawn<SuiteConfiguration>(
           runSuite, configuration,
  -        onExit: exitPort.sendPort);
  +        onExit: exitPort.sendPort, onError: errorPort.sendPort);
  +    bool gotError = false;
  +    StreamSubscription errorSubscription = errorPort.listen((message) {
  +      gotError = true;
  +      logs.add("$message");
  +    });
       bool timedOut = false;
       Timer timer = Timer(timeoutDuration, () {
         timedOut = true;
  
positive.code: 
    // Start the test suite in a new isolate.
    ReceivePort exitPort = new ReceivePort();
    SuiteConfiguration configuration = new SuiteConfiguration(
      resultsPort.sendPort,
      logsPort.sendPort,
  
negative.code:   print("Log files written to ${resultJsonUri.toFilePath()} and"
        " ${logsJsonUri.toFilePath()}");
  
    exitCode = timeoutOrCrash ? 1 : 0;
  }
  