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

Add missing space in exception error #48

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

mardiros
Copy link
Contributor

The exception message for InvalidArgument is missing a space before:

        try:
            props[PROP_ATTRS] = HTMLAttrs(extra)
        except Exception as exc:
>           raise InvalidArgument(
                f"The arguments of the component <{component.name}>"
                f"were parsed incorrectly as:\n {str(kw)}"
            ) from exc
E           jinjax.exceptions.InvalidArgument: The arguments of the component <DummyComponent>were parsed incorrectly as:
E            {'widget': Undefined}

@mardiros mardiros mentioned this pull request Apr 15, 2024
@jpsca jpsca merged commit 4142665 into jpsca:main Apr 19, 2024
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