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: Do not panic when puml server returns 404 #49

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

MaciejKucia
Copy link
Contributor

Addresses #48

Instead of panicking with list index out of range the document is generated with a fallback minimal svg

When puml server returns something other than 200
Instead of throwing missing svg section exception
Then build the document with correct svg
But replace it with "Error" text
@MikhailKravets
Copy link
Owner

Thanks for your contribution @MaciejKucia! This is much better than panic.

@MikhailKravets MikhailKravets changed the base branch from master to 1.4.1 October 5, 2024 05:42
@MikhailKravets MikhailKravets merged commit 41a5f56 into MikhailKravets:1.4.1 Oct 5, 2024
2 checks passed
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.

2 participants