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 sources list of one source throws an exception #308

Merged
merged 1 commit into from
Mar 20, 2022

Conversation

Syer10
Copy link
Collaborator

@Syer10 Syer10 commented Mar 7, 2022

getCatalogueSource can throw exceptions if it fails to load a source, such as if a source jar was deleted when the server was down, or it failed to load the source class because GSON dissapeared with an outdated extension.

This PR fixes that by catching errors and using a StubSource when necessary.

@AriaMoradi AriaMoradi merged commit a27af0b into Suwayomi:master Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants