aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar Mark Schaller <mschaller@google.com>2015-07-08 23:59:42 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-07-10 17:16:34 +0000
commitb17c341a42b34d15574e7315d32ea1bb1c27a263 (patch)
tree3a2aa6803ad6f2fc6a3dc486e7e656d483dc3ae7 /src/test/shell
parentd3a89f9da1470db5d82037a287f02e5456086d28 (diff)
Handle errors from DirectoryListingFunction
SkyFunctions that call DirectoryListingFunction directly, as in the case of RecursiveDirectoryTraversalFunction, or transitively, as in the case of IncludeParser's call to GlobFunction, had been failing to handle the exceptions that DirectoryListingFunction can throw. DirectoryListingFunction can throw InconsistentFilesystemException directly, but it can also throw IOException and FileOutsidePackageRootsException because of its call to DirectoryListingStateFunction without any of its own error handling. RecursiveFilesystemTraversalFunction also calls DirectoryListingFunction, but is not yet in use. A follow-up CL will take care of its error handling needs. -- MOS_MIGRATED_REVID=97828177
Diffstat (limited to 'src/test/shell')
0 files changed, 0 insertions, 0 deletions