Includes request ID in error returned by Cline API (#4909)

* Includes request ID in error returned by Cline API

Adding the request ID to error messages to aid in debugging for users.

* Use constant for auth error message; revert change from previous PR

* Fix webview auth status if null/undefined user is passed in auth status message

* Create nasty-parents-play.md

---------

Co-authored-by: abeatrix <beatrix@cline.bot>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-07-14 22:16:50 -07:00
1 parent a0787e3d36
commit 575cfd48cc
6 files changed
+31 -13

No files matched your search

+3
View File
@@ -76,3 +76,6 @@ export interface OrganizationUsageTransaction {
totalTokens: number
userId: string
}
// Used in cline.ts provider and in webview-ui/src/components/chat/ChatRow.tsx to display the login button
export const CLINE_ACCOUNT_AUTH_ERROR_MESSAGE = "Unauthorized: Please sign in to Cline before trying again."