Merge lp:~stolowski/unity-scopes-api/fix-1393382-rtm into lp:unity-scopes-api/rtm-14.09
Proposed by
Paweł Stołowski
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michi Henning | ||||
Approved revision: | 249 | ||||
Merged at revision: | 259 | ||||
Proposed branch: | lp:~stolowski/unity-scopes-api/fix-1393382-rtm | ||||
Merge into: | lp:unity-scopes-api/rtm-14.09 | ||||
Diff against target: |
38 lines (+17/-9) 1 file modified
scoperegistry/FindFiles.cpp (+17/-9) |
||||
To merge this branch: | bzr merge lp:~stolowski/unity-scopes-api/fix-1393382-rtm | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michi Henning (community) | Approve | ||
Review via email: mp+242067@code.launchpad.net |
Commit message
Catch file exception while iterating over individual scope dirs, so that a single failure doesn't break all other scopes.
Description of the change
Catch file exception while iterating over individual scope dirs, so that a single failure doesn't break all other scopes.
To post a comment you must log in.
Looks good, thanks!
Very minor fix:
error("could not open scope directory: " + scope_dir + "\n");
The trailing newline shouldn't be there. error() automatically appends a newline. (You need a newline only if you want to force an error message to include a line break explictly.)