Skip to content

Commit dd5643f

Browse files
vldcmp-uipathclaude
andcommitted
style(cli): shorten structure 404 comment
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 2969a64 commit dd5643f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎packages/uipath/src/uipath/_cli/_utils/_studio_project.py‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -757,11 +757,7 @@ async def get_project_structure_async(
757757
if not force and self._project_structure_cache is not None:
758758
return self._project_structure_cache
759759

760-
# Any non-2xx response (including 404) propagates as EnrichedException,
761-
# carrying the request URL and status. Studio Web creates project.uiproj
762-
# with every new project, so an empty or missing structure is never a
763-
# legitimate "fresh project" signal; a 404 means the project or URL is
764-
# wrong (e.g. UIPATH_URL without the organization segment).
760+
# A 404 propagates: Studio Web now creates project.uiproj with every project.
765761
response = await self.uipath.api_client.request_async(
766762
"GET",
767763
url=f"{self.file_operations_base_url}/Structure",

0 commit comments

Comments
 (0)