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 Koa failure #8

Merged
merged 1 commit into from
Dec 22, 2024
Merged

handle Koa failure #8

merged 1 commit into from
Dec 22, 2024

Conversation

vrsandeep
Copy link
Owner

@vrsandeep vrsandeep commented Dec 22, 2024

Koa was failing when the schema is a Union of types.

I couldn't figure out how to fix Koa library, even after adding tests in vrsandeep/Koa#1. Instead, I just added a hack.

This PR also fixes the Logger class, where #fatal, #warn... were not printing anything to console.

@vrsandeep vrsandeep merged commit 123ce98 into master Dec 22, 2024
1 check passed
@vrsandeep vrsandeep deleted the koa-lib branch December 22, 2024 23:23
pid = this.plugins[0].id;
if (this.plugins.length > 0) {
pid = this.plugins[0].id;
}
Copy link
Owner Author

Choose a reason for hiding this comment

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

does not throw any error in the HTML when plugins are missing

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.

1 participant