Skip to content

fix(controller): handle empty action chunks gracefully by raising PolicyError - #374

Open
Adityakk9031 wants to merge 2 commits into
robocurve:mainfrom
Adityakk9031:fix/controller-empty-chunk
Open

fix(controller): handle empty action chunks gracefully by raising PolicyError#374
Adityakk9031 wants to merge 2 commits into
robocurve:mainfrom
Adityakk9031:fix/controller-empty-chunk

Conversation

@Adityakk9031

Copy link
Copy Markdown
Contributor

Summary: Fixes unhandled IndexError and ValueError when a policy returns an empty ActionChunk. Raises PolicyError instead.

@Adityakk9031

Copy link
Copy Markdown
Contributor Author

@jeqcho have a look

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