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

Exclude "followed" leagues #255

Closed
axel3rd opened this issue Aug 10, 2023 · 2 comments · Fixed by #256
Closed

Exclude "followed" leagues #255

axel3rd opened this issue Aug 10, 2023 · 2 comments · Fixed by #256
Assignees
Labels
bug Something isn't working
Milestone

Comments

@axel3rd
Copy link
Owner

axel3rd commented Aug 10, 2023

When some leagues are "followed", crash with:

java.lang.UnsupportedOperationException: League id 'null' should start with 'mpg_division_'
	at org.blondin.mpg.root.MpgClient.getDivision(MpgClient.java:69)
	at org.blondin.mpg.Main.processGames(Main.java:181)
	at org.blondin.mpg.Main.processLeague(Main.java:122)
	at org.blondin.mpg.Main.process(Main.java:82)

=> As some other league state (terminated, ...) this kind of league should be "excluded" (transparency, no log displayed).

@axel3rd axel3rd added the bug Something isn't working label Aug 10, 2023
@axel3rd axel3rd added this to the 1.11 milestone Aug 10, 2023
@axel3rd axel3rd self-assigned this Aug 10, 2023
axel3rd added a commit that referenced this issue Aug 10, 2023
@axel3rd axel3rd linked a pull request Aug 10, 2023 that will close this issue
axel3rd added a commit that referenced this issue Aug 10, 2023
axel3rd added a commit that referenced this issue Aug 10, 2023
@mansuydejean
Copy link
Collaborator

Excellent! Merci

@axel3rd
Copy link
Owner Author

axel3rd commented Aug 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants