From 4b04e4c7a9e44c95471488997beb9b321f759276 Mon Sep 17 00:00:00 2001 From: Jordan Jensen Date: Thu, 9 Jan 2025 11:19:36 -0800 Subject: [PATCH] Preface cred backup error with explanation --- extensions/vscode/src/utils/errorTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/src/utils/errorTypes.ts b/extensions/vscode/src/utils/errorTypes.ts index 013f59567..a19727b4f 100644 --- a/extensions/vscode/src/utils/errorTypes.ts +++ b/extensions/vscode/src/utils/errorTypes.ts @@ -189,7 +189,7 @@ export const isErrCannotBackupCredentialsFile = export const errCannotBackupCredentialsFileMessage = ( err: axiosErrorWithJson, ) => { - return err.response.data.details.message; + return `Unrecognizable credentials for Posit Publisher were found. ${err.response.data.details.message}`; }; // Tries to match an Axios error that comes with an identifiable Json structured data