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

Fix warning about casting SpeechError to URLError #2306

Merged
merged 1 commit into from
Jan 13, 2020

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented Jan 11, 2020

URLErrors coming from MapboxSpeech are now wrapped in a SpeechError type (not to be confused with the SpeechError in MapboxNavigation).

Fixes #2305.

/cc @mapbox/navigation-ios

@1ec5 1ec5 added build Issues related to builds and dependency management. topic: voice labels Jan 11, 2020
@1ec5 1ec5 added this to the v1.0.0 milestone Jan 11, 2020
@1ec5 1ec5 self-assigned this Jan 11, 2020
@1ec5 1ec5 requested a review from JThramer January 11, 2020 23:34
@1ec5 1ec5 merged commit d0ed6d3 into master Jan 13, 2020
@1ec5 1ec5 deleted the 1ec5-speech-error-url-cast-2305 branch January 13, 2020 18:46
@1ec5 1ec5 modified the milestones: v1.0.0, v0.x next Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to builds and dependency management. topic: voice
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Warning in MapboxVoiceController.swift — Cast from 'SpeechError?' to unrelated type 'URLError' always fails
2 participants