Chromium Code Reviews| Index: tools/testing/dart/drt_updater.dart |
| diff --git a/tools/testing/dart/drt_updater.dart b/tools/testing/dart/drt_updater.dart |
| index e6645dfda2aaebbc99b8349c5966d6f9dcd1fb73..10d758abfcb7a2d61ee24e03a05532fbe6f3cd19 100644 |
| --- a/tools/testing/dart/drt_updater.dart |
| +++ b/tools/testing/dart/drt_updater.dart |
| @@ -4,6 +4,7 @@ |
| library drt_updater; |
| +import "dart:async"; |
| import "dart:io"; |
| import "test_suite.dart"; |
| @@ -27,7 +28,7 @@ class _DartiumUpdater { |
| print('Updating $name.'); |
| onUpdated = [() {updated = true;} ]; |
| _updatingProcess = Process.run('python', _getUpdateCommand); |
| - _updatingProcess.handleException((e) { |
| + _updatingProcess.catchError((e) { |
| print("Error starting $script process: $e"); |
| return false; |
| }); |
|
Bill Hesse
2013/01/09 17:06:33
Need to use the return value of catchError, not th
kustermann
2013/01/09 18:02:25
Done.
|