Skip to content

fix(protobuf_lark): add missing raise for multiple-package error#179

Open
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/protobuf-lark-missing-raise
Open

fix(protobuf_lark): add missing raise for multiple-package error#179
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/protobuf-lark-missing-raise

Conversation

@SoundMatt

Copy link
Copy Markdown

In process_lark_tree, the check for multiple package statements called Exception(...) without raise. The exception object was constructed and immediately garbage-collected, so protobuf files with more than one package statement silently continued processing instead of failing with an error. Add raise.

`process_lark_tree` called `Exception(...)` without `raise`, so the
exception object was created and immediately discarded.  Files with
multiple package statements would silently continue processing instead
of failing.  Add `raise`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
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