Chromium Code Reviews| Index: tools/patch_sdk.dart |
| diff --git a/tools/patch_sdk.dart b/tools/patch_sdk.dart |
| index 0f7b10aed65317312621a5bbded00daff2a50a08..614fe2c38a9e0ed2675888bc659be95e1174c6c4 100644 |
| --- a/tools/patch_sdk.dart |
| +++ b/tools/patch_sdk.dart |
| @@ -43,7 +43,7 @@ final deps = new Set<Uri>(); |
| File getInputFile(String path, {canBeMissing: false}) { |
| final file = new File(path); |
| if (!file.existsSync()) { |
| - if (!canBeMissing) throw "patch_sdk.dart expects all inputs to exist"; |
| + if (!canBeMissing) throw "patch_sdk.dart expects all inputs to exist $path"; |
|
Alan Knight
2017/08/30 22:54:49
The error could be a little clearer, e.g. to exist
terry
2017/08/31 14:29:30
Done.
|
| return null; |
| } |
| deps.add(Uri.base.resolveUri(file.uri)); |