This description was created by Ellipsis for commit f337985603653d2a8e065dff98e280f7370fa05e
Summary:
Improved error handling in parse_action and parse_actions functions by replacing ValidationError with ValueError and adjusting logging levels.
Key points:
Updated parse_action in skyvern/webeye/actions/actions.py to raise ValueError instead of ValidationError for missing 'option' field and invalid 'SelectOption' fields.
Modified parse_actions in skyvern/webeye/actions/actions.py to catch both ValidationError and ValueError, and log them as warnings instead of errors.
Summary:
Improved error handling in
parse_action
andparse_actions
functions by replacingValidationError
withValueError
and adjusting logging levels.Key points:
parse_action
inskyvern/webeye/actions/actions.py
to raiseValueError
instead ofValidationError
for missing 'option' field and invalid 'SelectOption' fields.parse_actions
inskyvern/webeye/actions/actions.py
to catch bothValidationError
andValueError
, and log them as warnings instead of errors.Generated with :heart: by ellipsis.dev