Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

fix: handle errors in serialization - #44

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

andreitava-uip merged 1 commit into
mainfrom
fix/error-serialization

Conversation

@andreitava-uip

Copy link
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants