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

Avoid calls that can panic when handling errors #532

Merged
merged 1 commit into from Jul 2, 2018

Conversation

Projects
None yet
2 participants
@drew-richardson
Copy link
Contributor

drew-richardson commented Jun 26, 2018

In the cases where error is being handled, prefer to use the methods that return an error instead of the version that panic.

@alecgrieser alecgrieser self-requested a review Jun 26, 2018

@alecgrieser
Copy link
Contributor

alecgrieser left a comment

👍

@alecgrieser alecgrieser merged commit be87300 into apple:master Jul 2, 2018

@alecgrieser alecgrieser added this to the 6.0 milestone Jul 9, 2018

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