Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath"
version = "2.9.5"
version = "2.9.6"
description = "Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools."
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
9 changes: 8 additions & 1 deletion src/uipath/_cli/_utils/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,14 @@ async def read_resource_overwrites_from_file(
.get("resourceOverwrites", {})
)
for key, value in resource_overwrites.items():
overwrites_dict[key] = ResourceOverwriteParser.parse(key, value)
try:
overwrites_dict[key] = ResourceOverwriteParser.parse(key, value)
except Exception as e:
logger.warning(
"Skipping unrecognized resource overwrite '%s': %s",
key,
e,
)
Comment on lines +184 to +191
Copy link
Contributor

Choose a reason for hiding this comment

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

my one gripe is that this will catch any and all exceptions, including validation issues for existing resource types. It's unclear how this will behave in those cases, it will probably fail down the line due to some other errors.

Since I think it's not introducing any regression and given the urgency it is probably fine, but we should revisit


logger.debug(
"Loaded %d resource overwrite(s) from file %s",
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.