Skip to content

Commit f2f0d6e

Browse files
ctePrasangAPrajapati
authored andcommitted
Prevent a noisy cloud agent exception (RooCodeInc#8577)
1 parent 45e9053 commit f2f0d6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,9 @@ export class ClineProvider
18361836
let cloudOrganizations: CloudOrganizationMembership[] = []
18371837

18381838
try {
1839-
cloudOrganizations = await CloudService.instance.getOrganizationMemberships()
1839+
if (!CloudService.instance.isCloudAgent) {
1840+
cloudOrganizations = await CloudService.instance.getOrganizationMemberships()
1841+
}
18401842
} catch (error) {
18411843
// Ignore this error.
18421844
}

0 commit comments

Comments
 (0)