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

Handle content not available exception more comprehensively #3279

Merged
merged 1 commit into from
Mar 28, 2020

Conversation

mauriciocolli
Copy link
Contributor

What is it?

  • Bug fix
  • Feature

Long description of the changes in your PR

Some fragments were not handling these types of exceptions.

We should improve the display of ContentNotAvailableException exceptions in the future by showing more specific details, like not found.

For now, a "Content unavailable" is better than a crash.

Relates to the following issue(s)

@mauriciocolli mauriciocolli added bug Issue is related to a bug ASAP Issue needs to be fixed as soon as possible labels Mar 27, 2020
Copy link
Member

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please add an empty line for better readability.

@TobiGr TobiGr merged commit 7c72f17 into TeamNewPipe:dev Mar 28, 2020
This was referenced Mar 29, 2020
@mauriciocolli mauriciocolli deleted the fix-not-found-handling branch March 30, 2020 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP Issue needs to be fixed as soon as possible bug Issue is related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants