Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Fix: TestURL #2158

Merged
merged 2 commits into from
Apr 23, 2019
Merged

Build Fix: TestURL #2158

merged 2 commits into from
Apr 23, 2019

Conversation

millenomi
Copy link
Contributor

@millenomi millenomi commented Apr 23, 2019

The catches are exhaustive, and the cast to NSError will never fail, but since it is SwiftFoundation.NSError (and not ObjC NSError) the macOS build cannot detect that; at least, that's my hypothesis. Fix trivially by catching all errors instead.

The catches _are_ exhaustive, and the cast to NSError will never fail, but since it is SwiftFoundation.NSError (and not ObjC NSError) the macOS build cannot detect that. Fix by catching all errors instead.
@millenomi
Copy link
Contributor Author

@swift-ci please test and merge

@millenomi millenomi changed the title [No other merges until this merges:] macOS Build fix: TestURL Build Fix: TestURL Apr 23, 2019
@compnerd
Copy link
Member

@swift-ci please test and merge

1 similar comment
@millenomi
Copy link
Contributor Author

@swift-ci please test and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants