-
Notifications
You must be signed in to change notification settings - Fork 19
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
Raise 422 SchemaNotFoundError while uploading a schema referring an unexisting schemanode #4329
Raise 422 SchemaNotFoundError while uploading a schema referring an unexisting schemanode #4329
Conversation
1cd2dbd
to
6f31bd6
Compare
…isting schemanode
6f31bd6
to
aa3e390
Compare
branch_name=self.name, | ||
identifier=node.menu_placement, | ||
message=f"{node.kind} refers an unexisting menu placement node: {node.menu_placement}.", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you raise this exception from the captured one please
raise SchemaNotFoundError( | ||
branch_name=self.name, | ||
identifier=node.menu_placement, | ||
message=f"{node.kind} refers an unexisting menu placement node: {node.menu_placement}.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say f"{node.kind} refers to an invalid menu placement node: {node.menu_placement}."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please can you add a newsfragment
Fix #4089