Skip to content

fix: handle errors in serialization#44

Merged
andreitava-uip merged 1 commit intomainfrom
fix/error-serialization
Feb 19, 2026
Merged

fix: handle errors in serialization#44
andreitava-uip merged 1 commit intomainfrom
fix/error-serialization

Conversation

@andreitava-uip
Copy link
Contributor

Comment on lines +89 to +92
# Handle objects with as_dict property (UiPathBaseRuntimeError)
if hasattr(obj, "as_dict") and not isinstance(obj, type):
return obj.as_dict

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this is pretty specific and UiPathBaseRuntimeError is not defined in this repo, I don't see any reason not to do it

@andreitava-uip andreitava-uip merged commit fd9e827 into main Feb 19, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments