Chromium Code Reviews| Index: sdk/lib/io/directory_impl.dart |
| diff --git a/sdk/lib/io/directory_impl.dart b/sdk/lib/io/directory_impl.dart |
| index 46b17dc67d615e67efeedf386508181d6b9b1a3e..e9c3bbfd778a3bc314bdc6569ab15f2484a4ecc9 100644 |
| --- a/sdk/lib/io/directory_impl.dart |
| +++ b/sdk/lib/io/directory_impl.dart |
| @@ -286,8 +286,8 @@ class _AsyncDirectoryLister { |
| if (response is int) { |
| id = response; |
| next(); |
| - } else if (response is Error) { |
| - controller.addError(response); |
| + } else if (response is Error) { |
|
Søren Gjesse
2015/03/18 08:13:12
tab character.
Lasse Reichstein Nielsen
2015/03/18 10:09:30
ICK. Editor, why are you failing me? Was it someth
|
| + controller.addError(response, response.stackTrace); |
| close(); |
| } else { |
| error(response); |
| @@ -379,8 +379,8 @@ class _AsyncDirectoryLister { |
| if (errorPath == null) errorPath = path; |
| controller.addError( |
| new FileSystemException("Directory listing failed", |
| - errorPath, |
| - err)); |
| + errorPath, |
| + err)); |
| } else { |
| controller.addError( |
| new FileSystemException("Internal error")); |